Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemBreadCrumbEdit.ValidatePath Event

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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