Skip to main content
All docs
V24.2

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

TreeViewControl.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

The content of the required node.

#Returns

Type Description
TreeListNode

The node with the specified content.

#Remarks

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

See Also