Back to Devexpress

BreadCrumbNodeCollection.FindNode(String, Boolean) Method

windowsforms-devexpress-dot-xtraeditors-dot-breadcrumbnodecollection-dot-findnode-x28-system-dot-string-system-dot-boolean-x29.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
valueString

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

TypeDescription
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

Breadcrumb Edit Control

BreadCrumbNodeCollection Class

BreadCrumbNodeCollection Members

DevExpress.XtraEditors Namespace