Xamarin.Android | ComponentOne
C1.Android.Grid Assembly / C1.Android.Grid Namespace / GridBase 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 _
    ) 
    'Usage
     
    
    Dim instance As GridBase
    Dim row As Integer
    Dim col As Integer
    Dim padding As Double
    Dim disableAnimation As Boolean
     
    instance.ScrollIntoView(row, col, padding, disableAnimation)
    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