Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

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.

Remarks

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.

Note

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

See Also