Hi All,
How to highlight the XamGrid row programmaticaly (through c# code) ?
Regards
Sufyan
Please keep in mind i am using MVVM. Please help me with sample application.
Hello Sufyan,
Thank you for your post. I have been looking into it and I created a sample project with the functionality you want. Basically I have a bool Property in the ViewModel called IsHighlighted and by using DataTrigger in the CellControl’s Style I set the Background of the Cells which Row’s object has this Property set to true. You can just edit the column in the Grid to see how the functionality works. You can also hide IsHighlighted Column from the Grid if you want. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.