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.HorzScroll(Int32) Method

Scrolls the vertical grid by the specified number of records.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public virtual void HorzScroll(
    int recordsCount
)

#Parameters

Name Type Description
recordsCount Int32

An integer value that specifies the number of records to scroll. If positive, forward scrolling is performed; otherwise the vertical grid is scrolled backwards.

#Remarks

Use the HorzScroll method to scroll through the vertical grid’s records in code. For more information, see Focus and Scroll Records.

See Also