TreeListView.CustomColumnDisplayText Event
Enables custom display text to be provided for any data cell.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Event Data
The CustomColumnDisplayText event's handler receives an argument of the TreeListCustomColumnDisplayTextEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Column | Gets the column which owns the processed cell. |
Display |
Gets or sets the display text for the cell currently being processed. |
Node | Gets the node which owns the processed cell. |
Show |
|
Value | Gets the processed cell's value. |
#Remarks
The CustomColumnDisplayText event can be used to display custom text within any cell. This event is fired for both bound and unbound columns. The text provided via this event will be used when the view is printed.
Initially the TreeListCustomColumnDisplayTextEventArgs.DisplayText parameter contains the cell's current display text. To provide custom display text, assign the required string to this property.