BreadCrumbHistory Class

Stores the BreadCrumbEdit navigation history and allows you to navigate through these records.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public class BreadCrumbHistory :
    CollectionBase,
    IDisposable
Public Class BreadCrumbHistory
    Inherits CollectionBase
    Implements IDisposable

Returned By

Properties and methods that return BreadCrumbHistory instances:

Remarks

The BreadCrumbHistory object, assigned to the RepositoryItemBreadCrumbEdit.History property, stores end-user keyboard navigation within this BreadCrumbEdit control. Whenever an end-user successfully navigates to a node using the keyboard, the BreadCrumbEdit.Path property value changes. The previous path is then written to a BreadCrumbHistoryItem object and placed into the BreadCrumbHistory collection.

When the BreadCrumbEdit is in Edit mode (see the RepositoryItemBreadCrumbEdit.BreadCrumbMode property), end-user navigation is not only added to the BreadCrumbHistory collection, it is also displayed in the BreadCrumbEdit's drop-down, expanded by clicking the predefined drop-down button at the control's right. The figure below illustrates a BreadCrumbEdit with an expanded drop-down that displays the available navigation history.

BRC - History Drop-Down

To navigate backward or forward through the BreadCrumbHistory collection records, use the RepositoryItemBreadCrumbEdit.GoBack and RepositoryItemBreadCrumbEdit.GoForward methods respectively. See the History chapter in the Breadcrumb Edit Control topic to learn more.

IMPORTANT

The BreadCrumbHistory object accessed through the control's RepositoryItemBreadCrumbEdit.History property does not store any records regarding navigation performed using the mouse, touch or code behind. However, you can get this complete history by using the RepositoryItemBreadCrumbEdit.GetNavigationHistory method.

Inheritance

Object
CollectionBase
BreadCrumbHistory
See Also