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
160
Styling Xamdatagrid
posted

 

I have a xamDatagrid.

I want change record background color when mouse over and I get  with this code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<igDP:XamDataGrid.Resources>

<Style TargetType="{x:Type igDP:DataRecordCellArea}">

 

 

 

<Style.Triggers>

 

 

 

<Trigger Property="IsMouseOver" Value="true">

 

 

 

<Setter Property="BackgroundHover" Value="#FFDCDCCF" />

 

 

 

<Setter Property="Background" Value="#FFDCDCCF" />

 

 

 

<Setter Property="BackgroundActive" Value="#FFDCDCCF"/>

 

 

 

<Setter Property="BackgroundAlternate" Value="#FFDCDCCF"/>

 

 

 

<Setter Property="BackgroundSelected" Value="#FFDCDCCF"/>

 

 

 

</Trigger>

 

 

 

</Style.Triggers>

 

 

 

</Style>

 

 

 

 but I don´t know  how to change background color effect when mouse leave the record.

How can I make it?