Programmatically set column foreground color?

2 posts, 0 answers
  1. Gone2TheDogs
    Gone2TheDogs avatar
    66 posts
    Member since:
    May 2016

    Posted 31 Oct 2016 Link to this post

    I need to set Column(0) foreground color programmatically. I can't find any examples specifically for this. Would someone please share an example or where I can find how its done?






  2. Dimitar
    Dimitar avatar
    2951 posts

    Posted 01 Nov 2016 Link to this post

    Hi Bob,

    Thank you for writing.

    Due to the UI virtualization, you should use the formatting events to change the styles. The first example in the following article shows how you can set the ForeColor:  Formatting Cells.

    Should you have any other questions do not hesitate to ask.

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top