Annotation/Text on CustomLine?

3 posts, 0 answers
  1. Brian
    Brian avatar
    73 posts
    Member since:
    Sep 2010

    Posted 01 Feb 2012 Link to this post

    I need to put some text on a CustomLine.  I am trying to do this in the same way that is done on a CustomGridLine but that is not working.  How can I do this?

    For example, this does not work:

    customLine.DataContext = "Test";

     

     

  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 06 Feb 2012 Link to this post

    Hi Brian,

    You may find attached a sample project where a Text is successfully set applied to the custom line. The approach is the same used for the CustomGridLine as described here.

    Let us know if any questions arise.

    Greetings,
    Evgenia
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Brian
    Brian avatar
    73 posts
    Member since:
    Sep 2010

    Posted 07 Feb 2012 Link to this post

    This worked, thanks!

    Apparently, my style was not quite right.
Back to Top