VGridControlBase.HorzScrollPixel(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll


public virtual void HorzScrollPixel(
    int pixelCount
Public Overridable Sub HorzScrollPixel(
    pixelCount As Integer


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