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

TreeList.FindNodeByFieldValue(String, Object) Method

Returns a node by its field value.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

public virtual TreeListNode FindNodeByFieldValue(
    string fieldName,
    object cellValue
)

Parameters

Name Type Description
fieldName String

A String value which identifies the column.

cellValue Object

An object which represents the field value of the requested node.

Returns

Type Description
TreeListNode

A TreeListNode object that represents the node which contains the specified value within the specified column. null (Nothing in Visual Basic) if the node isn’t found.

Remarks

The FindNodeByFieldValue method returns the first node found that contains the specified value within the specified column.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FindNodeByFieldValue(String, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also