Skip to main content

VGridControlBase.VertScroll(Int32) Method

Scrolls the vertical grid’s view vertically by the specified number of rows.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid


public virtual void VertScroll(
    int rowsCount


Name Type Description
rowsCount Int32

An integer value which specifies the number of rows that the grid’s view is scrolled by.


Use the VertScroll method to provide easy vertical navigation through a long list of rows. This method changes the VGridControlBase.TopVisibleRowIndex property by the parameter’s value. If the rowsCount parameter’s value is negative, the control’s view is scrolled upwards. Otherwise, if positive, the control’s view is scrolled downwards.

See Also