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.v20.1.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public int HorzScrollStep { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property HorzScrollStep As Integer

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