Skip to main content

BreadCrumbNodeCollection.InRange(Int32) Method

Gets whether this BreadCrumbNodeCollection contains a BreadCrumbNode at the specific position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool InRange(
    int index
)

Parameters

Name Type Description
index Int32

An Int32 value that is a node position to be checked.

Returns

Type Description
Boolean

true if this BreadCrumbNodeCollection contains a BreadCrumbNode at the specific position; otherwise, false.

Remarks

The InRange method checks whether a node with the specific index exists within this BreadCrumbNodeCollection collection. This allows you to avoid the OutOfRange exception when picking a BreadCrumbNodeCollection item by its index.

See Also