windowsforms-devexpress-dot-xtraeditors-dot-baselistboxcontrol-ee734afd.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool HorizontalScrollbar { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property HorizontalScrollbar As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if horizontal scrolling is enabled in single column display mode; otherwise, false.
|
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