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

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.v19.1.dll

Declaration

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

Event Data

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

Remarks

Whenever the RepositoryItemBreadCrumbEdit.Path property changes, the BreadCrumbEdit checks whether a node with such a path exists. If not, the RepositoryItemBreadCrumbEdit.ValidatePath event occurs. You can handle this 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