We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Changing selection and row hover color

Thread ID:





98425 Feb 25,2011 05:21 PM Mar 1,2011 09:58 AM Silverlight 1
Tags: GridControl
Lisa Smith
Asked On February 25, 2011 05:21 PM

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.

Karthick Ravichandran [Syncfusion]
Replied On March 1, 2011 09:58 AM

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]
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:

Please let us know if you need more information.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.