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

RepositoryItemBreadCrumbEdit.ValidatePath Event

Occurs each time the BreadCrumbEdit has to navigate to an unknown node.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Events")]
public event BreadCrumbValidatePathEventHandler ValidatePath

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.

See Also