A newer version of this page is available. Switch to the current version.

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.v19.1.dll

Declaration

public virtual BreadCrumbNode FindNode(
    string value,
    bool recursive
)
Public Overridable Function FindNode(
    value As String,
    recursive As Boolean
) As BreadCrumbNode

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