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. Image for the cookie policy date

GridDataControl CurrentCellSelectionBackground

Hi,

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

In XAML is it:








Thanks.



1 Reply

SP Soundara Pandian S Syncfusion Team 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} };


Loader.
Live Chat Icon For mobile
Up arrow icon