Table of Contents

Method GetObjectOnRow

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetObjectOnRow(int)

Returns the object in the tree list that is currently visible. at the provided row. Returns null if no object is at that location. If you have screen coordinates then use ScreenToFrame(in Point) to translate these into the client area of the TreeView<T>.

public T GetObjectOnRow(int row)

Parameters

row int

The row of the Viewport of the TreeView<T>.

Returns

T

The object currently displayed on this row or null.