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

VGridControlBase.HorzScroll(Int32) Method

Scrolls the vertical grid by the specified number of records.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

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 Focusing and Scrolling Records.

See Also