Skip to main content

RepositoryItemBreadCrumbEdit.ResetNavigationHistory() Method


Use BreadCrumbEdit.ResetNavigationHistory method instead

Resets the history of end-user navigation within this BreadCrumbEdit control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


[Obsolete("Use BreadCrumbEdit.ResetNavigationHistory method instead")]
public void ResetNavigationHistory()


The ResetNavigationHistory event resets a history, accessed by calling the RepositoryItemBreadCrumbEdit.GetNavigationHistory method.


The history returned by the RepositoryItemBreadCrumbEdit.GetNavigationHistory method and the history accessed through the RepositoryItemBreadCrumbEdit.History property store different navigation records. The first collection stores end-user navigation in Select mode (the RepositoryItemBreadCrumbEdit.BreadCrumbMode property) while the second one contains paths recorded when navigating in Edit mode. Thus, calling the ResetNavigationHistory method will not modify the RepositoryItemBreadCrumbEdit.History collection and no paths will be removed from the editor’s drop-down. To do so, call the History.Clear() method instead.

See Also