Hello all,
Does anyone know how to completely remove the row hover and row selected highlighting? I want to achieve something more like Excel where the user can multi-select cells in the grid and only those cells receive highlighting. With the row hover and row selected highlighting in place, it makes it difficult for the user to see exactly which cells are selected - especially if the cells are in the same row.
Thanks,
Steve Wall
That works. I was able to find another post from awhile back that indicated the same approach. Here's the code snipped I used:
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:DataRecordCellArea}">
<Setter Property="BackgroundHover" Value="Transparent"/>
<Setter Property="BackgroundSelected" Value="Transparent"/>
</Style>
</igDP:XamDataGrid.Resources>
You could probably provide a custom style for the DataRecordCellArea (e.g. using the FieldLayoutSettings.DataRecordCellAreaStyle) and then either retemplate that element as needed or possibly just set the various background properties (e.g. BackgroundActive, BackgroundHover) to Transparent or x:Null.