Back to Devexpress

TableView.CustomRowAppearance Event

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-fcf900d5.md

latest3.7 KB
Original Source

TableView.CustomRowAppearance Event

Allows overriding the row’s foreground and background settings.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public event EventHandler<CustomRowAppearanceEventArgs> CustomRowAppearance
vb
Public Event CustomRowAppearance As EventHandler(Of CustomRowAppearanceEventArgs)

Event Data

The CustomRowAppearance event's data class is CustomRowAppearanceEventArgs. The following properties provide information specific to this event:

PropertyDescription
ConditionalValueGets the value of the CustomAppearanceEventArgs.Property property calculated by the conditional formatting mechanism. Inherited from CustomAppearanceEventArgs.
HandledGets or sets whether appearance customization is handled and no default processing is required. Inherited from CustomAppearanceEventArgs.
OriginalValueGets the original value of the CustomAppearanceEventArgs.Property property. Inherited from CustomAppearanceEventArgs.
PropertyGets a dependency property whose value is changed by the conditional formatting mechanism. Inherited from CustomAppearanceEventArgs.
ResultGets or sets the value of the CustomAppearanceEventArgs.Property property applied to the control. Inherited from CustomAppearanceEventArgs.
RowHandleGets a handle of a row for which an event has been raised.
RowSelectionStateGets a row’s selection state.
SourceGets 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.

See Also

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace