Skip to main content

VGridControlBase.HorzScroll(Int32) Method

Scrolls the vertical grid by the specified number of records.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.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