Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.HorzScrollPixel(Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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 Focus and Scroll Records.

See Also