Skip to main content

TreeListNode.DataItem Property

Gets the data item bound to the current node.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object DataItem { get; }

Property Value

Type Description
Object

A Object that represents the data item bound to the current node.

Remarks

When the ASPxTreeList control is bound to a data source, its nodes represent data source records (data items). Individual data items can be obtained using a node’s DataItem property. For instance, if the ASPxTreeList is bound to an AccessDataSource object, the DataItem property returns a DataRowView object, which represents an individual data source record.

See Also