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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing selection and row hover color

Thread ID:

Created:

Updated:

Platform:

Replies:

98425 Feb 25,2011 10:21 PM UTC Mar 1,2011 02:58 PM UTC Silverlight 1
loading
Tags: GridControl
Lisa Smith
Asked On February 25, 2011 10:21 PM UTC

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



CONFIRMATION

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.

Warning Icon 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.Close Icon

;