RepositoryItemBreadCrumbEdit.ResetNavigationHistory() Method
OBSOLETE
Use BreadCrumbEdit.ResetNavigationHistory method instead
Resets the history of end-user navigation within this BreadCrumbEdit control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Remarks
The ResetNavigationHistory event resets a history, accessed by calling the RepositoryItemBreadCrumbEdit.GetNavigationHistory method.
Note
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.