Skip to main content

TreeList.GetDataRecordByNode(TreeListNode) Method

Returns a data row associated with the node specified.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList


public virtual object GetDataRecordByNode(
    TreeListNode node


Name Type Description
node TreeListNode

The TreeListNode object representing the node whose associated data row is to be obtained.


Type Description

A data row associated with the node specified. null (Nothing in Visual Basic) if the node is not found.


If the Tree List is bound to a data source, the GetDataRecordByNode method returns the data row associated with the specified node. When working in unbound mode, an array of cell values that reside within the specified node is returned.

See Also