Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BreadCrumbNodeCollection.InRange(Int32) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.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