Hi Dave,
You can use a style for the DataRecordCellArea to set the colouring for different states of records e.g:
<Style TargetType="{x:Type igDP:DataRecordCellArea}" >
<Setter Property="BorderActiveBrush" Value="White" />
<Setter Property="BorderSelectedBrush" Value="White" />
<Setter Property="BackgroundActive" Value="White" />
<Setter Property="BackgroundSelected" Value="White" />
</Style>
Hope this is what you needed.
Regards Petar.
The active record is the record you are, lets say, currently working on (the one you type text into, select dates in and so on). On the other hand the selected records along with selected cells are colections representing what you have marked in the grid.
The misunderstanding comes from the clicking action which triggers both states and that you have to activate a record in order to include it in the selected collection. E.g. if you hold down the Ctrl key and start clicking on the recordSelectors only the last one you have clikced will be your ActiveRecord but all others including it will be selected.
Hope this makes things clearer.
Hello Dave,
It looks like you are selecting a record cause of the record activation. If you handle your recordActivating event and place this
e.Cancel =
true;
it should work as you want it to.
Hope this helps.
Sincerely,
Petar Monov,
DS Engineer,
Infragistics Bulgaria