Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Remove XamDataGrid Selected Row Glow Color.
posted

Hi Team,

I am using VS 2019 and Infragistics 20.2.16 version.

I am facing issue on changing style of XamDataGrid for below parts.

1) How to change the style header row select and hover background color. Suggest how I remove the glow background color for header row.

code that I used:

<Style x:Key="labelPresenter" TargetType="{x:Type data:LabelPresenter}">
<Setter Property="Background" Value="#d0d0d0" />
<Setter Property="FontFamily" Value="Poppins Medium" />
<Setter Property="FontSize" Value="10" />
<Setter Property="Foreground" Value="#595959" />
<Setter Property="BorderBrush" Value="#FFFFFF" />
<Setter Property="Height" Value="30" />
<Setter Property="LabelHighlight" Value="Transparent"/>
</Style>

2) How to remove the glow background color for selected row. 

<Style x:Key="dataRecordCellArea" TargetType="{x:Type data:DataRecordCellArea}">
<Setter Property="CornerRadius" Value="0" />
<Setter Property="BackgroundAlternate" Value="{StaticResource CellItemAltNormalBackgroundBrush}" />
<Setter Property="BackgroundSelected" Value="{StaticResource CellRowHoverBackgroundBrush}" />
<Setter Property="BackgroundHover" Value="{StaticResource CellRowHoverBackgroundBrush}" />
</Style>

3) How to remove one horizontal line in Header row column separator. 

4) How to show arrow of sorting in Header row.

For your reference I attach the Image.

Thank You,

Dinesh

Parents Reply Children
No Data