TreeList.GetRow(Int32) Method

Retrieves an object that represents the required Tree List row.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public virtual object GetRow(
    int nodeId
)
Public Overridable Function GetRow(
    nodeId As Integer
) As Object

Parameters

Name Type Description
nodeId Int32

An Int32 value assigned to the required node's TreeListNode.Id property.

Returns

Type Description
Object

An Object that represents the required row.

Remarks

The GetRow method returns the following:

  • a System.Data.DataRowView object, if the data source is a System.Data.DataTable or System.Data.DataView object;
  • an appropriate list item, if the data source is a custom item list.

You can also retrieve an object that represents the currently focused Tree List row by calling the TreeList.GetRow method.

See Also