FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / ScrollIntoView Method / ScrollIntoView(Int32,Int32,Double,Boolean) Method
Index of the row to scroll into view.
Index of the column to scroll into view.
The distance in pixels between the range and the viewport border.
if set to true disable animations.

In This Topic
    ScrollIntoView(Int32,Int32,Double,Boolean) Method
    In This Topic
    Scrolls the grid to bring a specific cell into view.
    Syntax
    'Declaration
     
    Public Overloads Sub ScrollIntoView( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       Optional ByVal padding As Double, _
       Optional ByVal disableAnimation As Boolean _
    ) 
    public void ScrollIntoView( 
       int row,
       int col,
       double padding,
       bool disableAnimation
    )

    Parameters

    row
    Index of the row to scroll into view.
    col
    Index of the column to scroll into view.
    padding
    The distance in pixels between the range and the viewport border.
    disableAnimation
    if set to true disable animations.
    See Also