[]
        
(Showing Draft Content)

C1.WinUI.Grid.C1GridControl.ChangeView

ChangeView Method

ChangeView(double?, double?, double?, bool)

Changes the scroll and zoom of the grid to the specified part of the viewport.

Declaration
public void ChangeView(double? horizontalOffset, double? verticalOffset, double? zoomScale = null, bool disableAnimation = false)
Public Sub ChangeView(horizontalOffset As Double?, verticalOffset As Double?, Optional zoomScale As Double? = Nothing, Optional disableAnimation As Boolean = False)
Parameters
Type Name Description
double? horizontalOffset

The horizontal offset.

double? verticalOffset

The vertical offset.

double? zoomScale

The zoom scale.

bool disableAnimation

if set to true disable animations.