Allows overriding the row’s foreground and background settings.
public event EventHandler<CustomRowAppearanceEventArgs> CustomRowAppearance
Public Event CustomRowAppearance As EventHandler(Of CustomRowAppearanceEventArgs)
The CustomRowAppearance event's data class is CustomRowAppearanceEventArgs. The following properties provide information specific to this event:
|ConditionalValue||Gets the value of the CustomAppearanceEventArgs.Property property calculated by the conditional formatting mechanism. Inherited from CustomAppearanceEventArgs.|
|Handled||Gets or sets whether appearance customization is handled and no default processing is required. Inherited from CustomAppearanceEventArgs.|
|OriginalValue||Gets the original value of the CustomAppearanceEventArgs.Property property. Inherited from CustomAppearanceEventArgs.|
|Property||Gets a dependency property whose value is changed by the conditional formatting mechanism. Inherited from CustomAppearanceEventArgs.|
|Result||Gets or sets the value of the CustomAppearanceEventArgs.Property property applied to the control. Inherited from CustomAppearanceEventArgs.|
|RowHandle||Gets a handle of a row for which an event has been raised.|
|RowSelectionState||Gets a row’s selection state.|
|Source||Gets the View that raised the event.|
Refer to the Formatting Focused Cells and Rows topic to learn how to override the focused row background with the background color defined in the conditional formatting rules.