I want to do the following:
The goal is that once an error is detected, it is visible in the row, regardless of the row's visual states (selected/notselected; active/notactive; normal/mouseover/alternate) etc.
I have tried creating a conditional formatter (but it seems to be applied before alternate row stylings) I have tried various events such as RowAdded, ItemControlAttached, etc. but sometimes don't have a populated model. I have tried INotifyDataErrorInfo, but this only works on rows that are being edited.
Is there a complete sample somewhere that demonstrates all of these requirements or is there a "final" event for a row which gives 1) the fully populated Row.Data object and 2) occurs after all other events, allowing me to specify an error style?
Hello,
AlternateRowStyling is simply a VisualState in the CellControl.
I think ConditionalFormatting is your best bet still.
We offer an additional property on a ConditionalFormattingCellControl, called AltBackground, which you can set to be the same as your background.
You can also turn off AlternatingRows altogether if you don't want them at all via the IsAlternateRowEnabled property on the xamGrid.
Hope this helps,
-SteveZ