Skip to main content

TreeList.HorzScrollStep Property

Gets or sets the offset by which the Tree List is scrolled horizontally when the scrollbar buttons are clicked.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

[DefaultValue(3)]
[XtraSerializableProperty]
public int HorzScrollStep { get; set; }

Property Value

Type Default Description
Int32 3

An integer value specifying by how many pixels the Tree List is scrolled.

Remarks

The Tree List’s horizontal scrolling offset is specified by the TreeList.LeftCoord property. When clicking the horizontal scrollbar’s buttons, this property is changed by the value of the HorzScrollStep property.

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

See Also