managing text inside cell

4 posts, 1 answers
  1. Yaroslav
    Yaroslav avatar
    24 posts
    Member since:
    Nov 2011

    Posted 09 Apr 2012 Link to this post

    Hi,

    I have a text inside a cell, composed of two dates. What I want is to format first date and the second one with different colors and size.

    Thanks
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2908 posts

    Posted 12 Apr 2012 Link to this post

    Hello Yaroslav,

    Thank you for writing.

    A possible way to achieve the desired appearance is to use our Html-like formatting functionality:  http://www.telerik.com/help/winforms/tpf-html-like-text-formatting.html.

    Attached you can find a sample application demonstrating how to do that. Please note that in my sample I have a semicolon (";") between the dates, which I am using to separate them.

    I hope that you find this information useful. Let me know if I can be of further assistance.
     
    Kind regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. Yaroslav
    Yaroslav avatar
    24 posts
    Member since:
    Nov 2011

    Posted 12 Apr 2012 Link to this post

    Thanks! worked at first test, now it is time to play with all the new possibilities this method can offer.
  4. Stefan
    Admin
    Stefan avatar
    2908 posts

    Posted 17 Apr 2012 Link to this post

    I am glad I could help. Let us know if you have any other questions.

    Kind regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top