TreeListView.AddingNewNode Event

Occurs before adding a new node to a data grid and allows you to initialize the new record.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public event TreeListAddingNewEventHandler AddingNewNode

Event Data

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

Property Description
NewObject Gets or sets the object to be added to the binding list. Inherited from AddingNewEventArgs.
ParentNode A parent node.


The AddingNewNode event fires when a new node is added to a grid using any of the control means. To initialize a new row, assign the initialized record to event arguments’ NewObject property.


The AddingNewNode event does not fire when you add a new node directly to a bound data source.

See Also