Hi,
It seems the default behaviour for the xamDataGrid is to highlight the active record, making it look similar (though different) to selected records.
How can you configure the grid so that it doesn't highlight the active row?
Thanks
If you want to suppress the active record highlighting you could use the following style.
<Style TargetType="{x:Type igDP:DataRecordCellArea}"> <Setter Property="BackgroundActive"> <Setter.Value> <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="White" Offset="0"/> <GradientStop Color="White" Offset="1"/> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="BorderActiveBrush" Value="#FF000000"/> </Style>
Best Regards,Yanko
This mostly works for me. I am using the Office2013 theme and I get a bottom border highlight on all unselected cells in the active record row. Any way to get around that?
If the image doesn't show up, here is the link. https://onedrive.live.com/redir?resid=C4D10F7259356C29!6907&authkey=!AMXrrBhoH9g6RhM&v=3&ithint=photo%2c.PNG
Sorry. I had commented out the borderactivebrush because I didn't want black. I uncommented and changed the value to white on the borderactivebrush and it works great. thanks!