Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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