Xamarin.Android | ComponentOne
C1.Android.Grid Assembly / C1.Android.Grid Namespace / GridBase Class / ChangeView Method
The horizontal offset.
The vertical offset.
The zoom scale.
if set to true disable animations.


In This Topic
    ChangeView Method (GridBase)
    In This Topic
    Changes the scroll and zoom of the grid to the specified part of the viewport.
    Syntax
    'Declaration
     
    
    Public Sub ChangeView( _
       ByVal horizontalOffset As Nullable(Of Double), _
       ByVal verticalOffset As Nullable(Of Double), _
       Optional ByVal zoomScale As Nullable(Of Double), _
       Optional ByVal disableAnimation As Boolean _
    ) 
    'Usage
     
    
    Dim instance As GridBase
    Dim horizontalOffset As Nullable(Of Double)
    Dim verticalOffset As Nullable(Of Double)
    Dim zoomScale As Nullable(Of Double)
    Dim disableAnimation As Boolean
     
    instance.ChangeView(horizontalOffset, verticalOffset, zoomScale, disableAnimation)

    Parameters

    horizontalOffset
    The horizontal offset.
    verticalOffset
    The vertical offset.
    zoomScale
    The zoom scale.
    disableAnimation
    if set to true disable animations.
    See Also