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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataControl CurrentCellSelectionBackground

Thread ID:

Created:

Updated:

Platform:

Replies:

102942 Mar 15,2012 01:01 PM UTC Mar 20,2012 03:47 AM UTC WPF 1
loading
Tags: GridControl
Juraj Tomana
Asked On March 15, 2012 01:01 PM UTC

Hi,

Please, help me.
I would like to set CurrentCellSellectionBackground in code-behind.

In XAML is it:








Thanks.



Soundara Pandian S [Syncfusion]
Replied On March 20, 2012 03:47 AM UTC

Hi Juraj,

You can achieve this requirement by applying the below code .

Code snippet [C#]:

gridDataControl1.StyleManager = new GridDataStyleManager() { RowAppearence = new RowAppearence() { CurrentCellSelectionBackground = Brushes.LightBlue} };


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

;