RepositoryItemBreadCrumbEdit.ResetNavigationHistory() Method

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Obsolete("Use BreadCrumbEdit.ResetNavigationHistory method instead")]
public void ResetNavigationHistory()
<Obsolete("Use BreadCrumbEdit.ResetNavigationHistory method instead")>
Public Sub ResetNavigationHistory

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.

See Also