Table of Contents

Method ScrollTo

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ScrollTo(int, bool)

Will scroll the TextView to display the specified row at the top if isRow is true or will scroll the TextView to display the specified column at the left if isRow is false.

public void ScrollTo(int idx, bool isRow = true)

Parameters

idx int

Row that should be displayed at the top or Column that should be displayed at the left, if the value is negative it will be reset to zero

isRow bool

If true (default) the idx is a row, column otherwise.