Hi,
In the grid I have set : SelectionTypeCell = none
But when I click on a cell, it is "selected", the row is selected too but I would like to avoid cell selection but it do not work.
Also, how can I change the color of the "selected rows" ?
Thanks for support
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:DataRecordCellArea}">
<!--change the color of the "selected rows"-->
<Setter Property="BackgroundSelected"> <Setter.Value> <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="LightSalmon" Offset="0"/> <GradientStop Color="White" Offset="1"/> </LinearGradientBrush> </Setter.Value> </Setter>
<!--change the color of the "Active rows"-->
<Setter Property="BackgroundActive"> <Setter.Value> <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="yellow" Offset="0"/> <GradientStop Color="White" Offset="1"/> </LinearGradientBrush> </Setter.Value> </Setter></Style>