Programmatically set column foreground color?

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

    Posted 31 Oct 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?

    Thanks!

     

     

     

     

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 01 Nov 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.

    Regards,
    Dimitar
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top