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?
I'm sorry.
It's ok.
I'm new in this.
OK, thanks
How can I do it?
Hello,
You do not need to do this. You just have to set the BackgroundHover style and it will automatically change the color when you hover over the record.