I just want to know how to change the background colour for a particular cell in XamlGrid. I want to do this in Code behind (C#). Could anyone please assist on this.
Many thanks in advance
The attached ChangeCellBackgroundAtRuntime sample application contains the fullsolution implementation to your question - "How to change the background of a particular cell in the xamDataGrid ( by C# code) ?".If you have any questions, please let me know.
Thanks for the information in these posts. I am using the XamDataGrid and handling the CellUpdated event. In my handler I am doing this:#
At first glance, this seems to work but if I scroll down I can see other cells that have been assigned the Yellow color. When I set a breakpoint I do not see the handler called for these additonal cells that get updated and turned Yellow. Seems strange. Any ideas?
It works fine, but when i use FieldChoser, to hide/unhide columns, the highlight goes off, how to keep the cell highlight color until i close the application.