TreeList.GetDataRecordByNode(TreeListNode) Method

Returns a data row associated with the node specified.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public virtual object GetDataRecordByNode(
    TreeListNode node
)
Public Overridable Function GetDataRecordByNode(
    node As TreeListNode
) As Object

Parameters

Name Type Description
node TreeListNode

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

Returns

Type Description
Object

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

Remarks

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