Skip to main content

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