TableView.CustomRowAppearance Event
Allows overriding the row’s foreground and background settings.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
Event Data
The CustomRowAppearance event's data class is CustomRowAppearanceEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
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. |
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomRowAppearance event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.