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

VGridControlBase.HorzScrollPixel(Int32) Method

Scrolls the vertical grid horizontally by the specified number of pixels.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public virtual void HorzScrollPixel(
    int pixelCount
)

Parameters

Name Type Description
pixelCount Int32

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

Remarks

Use the HorzScrollPixel method to scroll through the vertical grid’s records in code. For more information, see Focusing and Scrolling Records.

See Also