Skip to main content

BreadCrumbNodeCollection.FindNode(String, Boolean) Method

Returns the BreadCrumbNode with a specific value, if such a node exists within this BreadCrumbNodeCollection, or within any BreadCrumbNode.ChildNodes collection of BreadCrumbNodeCollection collection’s items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual BreadCrumbNode FindNode(
    string value,
    bool recursive
)

Parameters

Name Type Description
value String

A String value that is the searched node’s BreadCrumbNode.Value property value.

recursive Boolean

true if the method should check not only BreadCrumbNodeCollection items, but their BreadCrumbNode.ChildNodes collections as well; otherwise, false.

Returns

Type Description
BreadCrumbNode

A BreadCrumbNode with the specific value.

Remarks

The FindNode property allows you to search for a node by its value. If the recursive parameter equals true, the BreadCrumbNodeCollection items’ BreadCrumbNode.ChildNodes collections are checked as well.

See Also