Skip to main content

TreeListView.GetNodeByContent(Object) Method

Returns a node with the specified content.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public TreeListNode GetNodeByContent(
    object content
)

Parameters

Name Type Description
content Object

An object that is the content of the required node.

Returns

Type Description
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