Changing selection and row hover color

I'm using the GridControl in virtual mode. I'd like to change the default blue row selection brush, but I can't find any documentation on how to do this. I'd also like to add a row hover color.


1 Reply

KR Karthick Ravichandran Syncfusion Team March 1, 2011 02:58 PM UTC

Hi Lisa,

Thanks for using Syncfusion products.

1. You can achieve your requirement by setting the HighlightSelectionBackground property . For more information please refer the sample and code snippet in the following

[Code Snippet]
[C#]
dataGrid.HighlightSelectionBackground = new SolidColorBrush(Colors.PaleGreen);

2. At present we don’t have support for mouse hover background color. This will be include in our next release(2011, Vol2).

Sample Location:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WPFSample1430971141.zip

Please let us know if you need more information.

Thanks,
Karthick



Loader.
Up arrow icon