VGridControlBase.VertScroll(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual void VertScroll(
    int rowsCount
)
Public Overridable Sub VertScroll(
    rowsCount As Integer
)

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