Skip to main content

VGridControlBase.HorzScrollPixel(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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


public virtual void HorzScrollPixel(
    int pixelCount


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.


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

See Also