ScrollToLine Method
Scroll the TextBox to the specified line index.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public void ScrollToLine(
int lineIndex
)
Public Sub ScrollToLine (
lineIndex As Integer
)
member ScrollToLine :
lineIndex : int -> unit
Parameters
- Int32
- The line index to scroll to.
Exceptions
ArgumentOutOfRangeException | lineIndex is less than zero. -or - lineIndex is larger than or equal to the line count. |