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.
Up arrow icon