Back to Devexpress

BaseListBoxControl.HorizontalScrollbar Property

windowsforms-devexpress-dot-xtraeditors-dot-baselistboxcontrol-ee734afd.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool HorizontalScrollbar { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property HorizontalScrollbar As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

HorzScrollStep

LeftCoord

MultiColumn

BaseListBoxControl Class

BaseListBoxControl Members

DevExpress.XtraEditors Namespace