Table of Contents

Method ScrollTo

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

ScrollTo(Point)

Will scroll the TextView to display the specified row at the top by the position.Y.Y and will scroll the TextView to display the specified column at the left by the position.X.X.

public void ScrollTo(Point position)

Parameters

position Point

The row that should be displayed at the top and the column that should be displayed at the left, if the value is negative it will be reset to zero

Remarks

The CurrentRow and CurrentColumn will not be changed by this method.