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

RepositoryItemBreadCrumbEdit.NewNodeAdding Event

Occurs each time a new node is about to be added to this BreadCrumbEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Events")]
public event BreadCrumbNewNodeAddingEventHandler NewNodeAdding

Event Data

The NewNodeAdding event's data class is DevExpress.XtraEditors.BreadCrumbNewNodeAddingEventArgs.

Remarks

When a BreadCrumbEdit has to navigate to an unknown BreadCrumbEdit.Path, the RepositoryItemBreadCrumbEdit.ValidatePath event is raised. Handle this event to disable the navigation or enable it and create the required nodes. If you choose to create the nodes, the NewNodeAdding event will be raised, which allows you to customize the node that is to be added. Finally, the RepositoryItemBreadCrumbEdit.QueryChildNodes event fires. This event allows you to dynamically populate the newly created node’s BreadCrumbNode.ChildNodes collection. See the Breadcrumb Edit Control topic for an example.

See Also