Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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