Skip to main content
A newer version of this page is available. .

VGridControlBase.VertScroll(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.1.dll

Declaration

public virtual void VertScroll(
    int rowsCount
)

Parameters

Name Type Description
rowsCount Int32

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

Remarks

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