Back to Devexpress

GridView.HorzScrollStep Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-ea999c60.md

latest2.1 KB
Original Source

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

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

Declaration

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

Property Value

TypeDefaultDescription
Int320

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

HorzScrollVisibility

LeftCoord

InvertHorizontalScrolling

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace