The background of row can be changed dynamically based on any property value in record by writing style of TargetType as VirtualizingCellsControl. In the style setter the background can be changed based on property value using converter.
In the below code snippet, VirtualizingCellsControl’s background is changed based on IsChecked property in data object using converter.
If you want to change the background based on two properties in underlying data object, then you can pass the data object to converter using MultiBinding.
In the below code snippet, the row background is change based on record in CustomRowStyleMultiValueConverter.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:||Product Version:|