RepositoryItemBreadCrumbEdit.ValidatePath Event
Occurs each time the BreadCrumbEdit has to navigate to an unknown node.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The ValidatePath event's data class is DevExpress.XtraEditors.BreadCrumbValidatePathEventArgs.
Remarks
If the BreadCrumbEdit control has to navigate to a BreadCrumbEdit.Path, not associated with any currently existing BreadCrumbNode, the ValidatePath event occurs. Handle this event to either reject such a path, or to create required nodes. If you choose to create nodes, handle the RepositoryItemBreadCrumbEdit.NewNodeAdding and RepositoryItemBreadCrumbEdit.QueryChildNodes events to customize and populate these newly added nodes. See the Breadcrumb Edit Control topic for an example.