Change color of a cell from code behind

2 posts, 0 answers
  1. John
    John avatar
    6 posts
    Member since:
    Feb 2012

    Posted 24 Mar 2015 Link to this post

    I am using a WPF radgridview control to display some data. I am looking for a way to change the background color of a cell during runtime. I see how I can do it when I load data but how can I do it after the data is loaded?  I have some code that gets executed after some input from the user and I need to change some cells background color based on the users input. Ex: Row 3 , cell 5.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 25 Mar 2015 Link to this post

    Hi John,

    In order to achieve the desired functionality, I can suggest you applying a CellStyleSelector instead. You can also check the CellStyleSelector online demo or the same one under the WPF Demos. 

    Regards,
    Dimitrina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top