TreeList.GetDataRow(Int32) Method
Returns a Tree List row as a DataRow object.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
nodeId | Int32 | An Int32 value assigned to the processed node’s TreeListNode.Id property. |
Returns
Type | Description |
---|---|
DataRow | A DataRow object that represents a Tree List row. |
Remarks
The GetDataRow method returns the following:
- null, if the Tree List data source is a custom collection of objects;
- a System.Data.DataRow object, if the data source is a System.Data.DataTable or System.Data.DataView object. DataRow objects allow you to access and modify rows and row values.
To retrieve objects that correspond to Tree List rows regardless of the data source type, call the TreeList.GetRow method instead.
See Also