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.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(0)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
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