Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.VertScroll(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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