TreeListView.CustomCellAppearance Event
In This Article
Allows overriding the cell’s foreground and background settings.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public event EventHandler<CustomCellAppearanceEventArgs> CustomCellAppearance
#Event Data
The CustomCellAppearance event's data class is CustomCellAppearanceEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cell |
Gets a cell’s selection state. |
Column | Gets a column that contains the corresponding cell. |
Conditional |
Gets the value of the Custom |
Handled |
Gets or sets whether appearance customization is handled and no default processing is required.
Inherited from Custom |
Is |
Gets whether an editor is visible for the corresponding cell. |
Original |
Gets the original value of the Custom |
Property |
Gets a dependency property whose value is changed by the conditional formatting mechanism.
Inherited from Custom |
Result |
Gets or sets the value of the Custom |
Row |
Gets a handle of a row for which an event has been raised.
Inherited from Custom |
Row |
Gets a row’s selection state.
Inherited from Custom |
Source |
Gets the View that raised the event.
Inherited from Custom |
#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.
The CustomCellAppearance event fires only when the TreeListControl works in optimized mode.
See Also