Skip to main content

GridView.HorzScrollStep Property

Gets or sets the offset by which the View is scrolled horizontally when clicking scrollbar buttons.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public int HorzScrollStep { get; set; }

Property Value

Type Default Description
Int32 0

An integer value specifying the horizontal scrolling step in pixels.


The View’s horizontal scrolling offset is specified by the GridView.LeftCoord property. When clicking horizontal scrollbar’s buttons, this property is changed by the HorzScrollStep property value.

Note that the property accepts values between 1 and 100. Assigning a value less than 1 or greater than 100 sets the HorzScrollStep property to 1 or 100 respectively.

See Also