Skip to main content

BreadCrumbHistory.AddRange(BreadCrumbHistoryItem[]) Method

Adds multiple BreadCrumbHistoryItems to this BreadCrumbHistory collection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void AddRange(
    BreadCrumbHistoryItem[] items
)

Parameters

Name Type Description
items BreadCrumbHistoryItem[]

BreadCrumbHistoryItems to be added.

Remarks

The BreadCrumbHistory collection assigned to the RepositoryItemBreadCrumbEdit.History property, stores the history of end-user navigation within this BreadCrumbHistory. Each BreadCrumbHistory collection record is a BreadCrumbHistoryItem object that stores a specific node’s path (the BreadCrumbHistoryItem.Path property). You can manually add history items to a BreadCrumbHistory collection via the AddRange or BreadCrumbHistory.Add methods. See the Breadcrumb Edit Control topic to learn more.

Note

The AddRange method will not add a new BreadCrumbHistoryItem object to a BreadCrumbHistory collection if this collection already contains another BreadCrumbHistoryItem with the same BreadCrumbHistoryItem.Path property value.

See Also