Back to Devexpress

TreeListView.GetNodeByContent(Object) Method

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

latest2.0 KB
Original Source

TreeListView.GetNodeByContent(Object) Method

Returns a node with the specified content.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListNode GetNodeByContent(
    object content
)
vb
Public Function GetNodeByContent(
    content As Object
) As TreeListNode

Parameters

NameTypeDescription
contentObject

An object that is the content of the required node.

|

Returns

TypeDescription
TreeListNode

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

|

Remarks

The GetNodeByContent method returns the node whose TreeListNodeBase.Content property is set to a value specified by the content parameter.

To learn more, see Obtaining Nodes.

See Also

GetNodeByCellValue(String, Object)

GetNodeByRowHandle(Int32)

GetNodeByVisibleIndex(Int32)

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace