Skip to main content
A newer version of this page is available. .

TreeList.GetFocusedRow() Method

Retrieves the currently focused Tree List row.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public object GetFocusedRow()

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