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.PathRejected Event

Occurs when a path to which the RepositoryItemBreadCrumbEdit was about to navigate does not pass validation.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event BreadCrumbPathRejectedEventHandler PathRejected

#Event Data

The PathRejected event's data class is DevExpress.XtraEditors.BreadCrumbPathRejectedEventArgs.

#Remarks

Whenever the BreadCrumbEdit.Path property changes, the BreadCrumbEdit checks whether a node with such a path exists. If not, the RepositoryItemBreadCrumbEdit.ValidatePath event occurs. You can handle the ValidatePath event to either create a new node with the target path, or to cancel the navigation. The PathRejected event occurs if this path did not pass validation and was rejected.

See Also