A newer version of this page is available. Switch to the current version.

TreeList.GetNodeDisplayValue Event

Provides the ability to display custom values within cells.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll


public event GetNodeDisplayValueEventHandler GetNodeDisplayValue

Event Data

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

Property Description
ChangedByUser Inherited from CellValueChangedEventArgs.
Column Gets a column to which the cell processed by an event belongs. Inherited from CellEventArgs.
Node Gets the current Tree List node. Inherited from NodeEventArgs.
Value Gets or sets the value contained within the processed cell.


The GetNodeDisplayValue event fires for each cell within the TreeList control. The NodeEventArgs.Node and CellEventArgs.Column properties of the event parameter allow you to determine the node and column to which the processed cell belongs. The parameter's GetNodeDisplayValueEventArgs.Value property transmits the value which is about to be displayed within the cell. Assign a custom value to this property to change the cell's display value.

Custom values assigned in a GetNodeDisplayValue event handler are formatted according to the owner column's settings and editor used for this cell.

See Also