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.

GridDataControl CurrentCellSelectionBackground

Thread ID:

Created:

Updated:

Platform:

Replies:

102942 Mar 15,2012 09:01 AM Mar 19,2012 11:47 PM WPF 1
loading
Tags: GridControl
Juraj Tomana
Asked On March 15, 2012 09:01 AM

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 19, 2012 11:47 PM

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.

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.

;