Skip to main content
A newer version of this page is available. .

BreadCrumbNodeCollection.InRange(Int32) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

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