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

BaseListBoxControl.HorizontalScrollbar Property

Gets or sets whether a horizontal scroll bar is enabled when the control’s items are displayed in a single column and some of them exceed the control’s width.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool HorizontalScrollbar { get; set; }

#Property Value

Type Default Description
Boolean false

true if horizontal scrolling is enabled in single column display mode; otherwise, false.

#Remarks

When the BaseListBoxControl.MultiColumn property is set to false, the list box control’s items are displayed in a single column. In this mode, you can set the HorizontalScrollbar property to true to allow an end-user to scroll the list box control horizontally.

The BaseListBoxControl.HorzScrollStep property specifies the amount of pixels by which the control’s view area is shifted when scrolling.

See Also