RepositoryItemBreadCrumbEdit.ValidatePath Event

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event BreadCrumbValidatePathEventHandler ValidatePath
<DXCategory("Events")>
Public Event ValidatePath As BreadCrumbValidatePathEventHandler

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