TreeList.GetFocusedRow() Method

Retrieves the currently focused Tree List row.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public object GetFocusedRow()
Public Function GetFocusedRow As Object

Returns

Type Description
Object

An Object that is the currently focused Tree List row.

Remarks

The GetFocusedRow 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 objects that represent any Tree List row by calling the TreeList.GetRow method.

See Also