Back to Devexpress

TreeListView.GetNodeByCellValue(String, Object) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-getnodebycellvalue-x28-system-dot-string-system-dot-object-x29.md

latest2.0 KB
Original Source

TreeListView.GetNodeByCellValue(String, Object) Method

Searches for a node with the specified value within the specified cell, and returns the first found node.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListNode GetNodeByCellValue(
    string fieldName,
    object value
)
vb
Public Function GetNodeByCellValue(
    fieldName As String,
    value As Object
) As TreeListNode

Parameters

NameTypeDescription
fieldNameString

A String value that specifies the field name of the column containing the required cell.

| | value | Object |

An object that specifies the value of the required cell.

|

Returns

TypeDescription
TreeListNode

A TreeListNode object that is the node with the specified value within the specified cell. null ( Nothing in Visual Basic) if the node was not found.

|

Remarks

To learn more, see Obtaining Nodes.

See Also

GetNodeByKeyValue(Object)

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace