Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcTextBox Class / ScrollToLine Method
The zero-based line index of the line to scroll into view.


In This Topic
    ScrollToLine Method
    In This Topic
    Scrolls the line at the specified line index into view.
    Syntax
    'Declaration
     
    Public Sub ScrollToLine( _
       ByVal lineIndex As Integer _
    ) 
    'Usage
     
    Dim instance As GcTextBox
    Dim lineIndex As Integer
     
    instance.ScrollToLine(lineIndex)
    public void ScrollToLine( 
       int lineIndex
    )

    Parameters

    lineIndex
    The zero-based line index of the line to scroll into view.
    Exceptions
    ExceptionDescription
    If lineIndex is less than 0 or is greater than or equals to line count.
    See Also