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

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.v19.2.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public int HorzScrollStep { get; set; }

Property Value

Type Default Description
Int32 0

An integer value specifying the horizontal scrolling step in pixels.

Remarks

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