System.Windows.Forms.ListBox.HorizontalScrollbar Property

Gets or sets a value indicating whether a horizontal scroll bar is displayed in the control.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(false)]
public bool HorizontalScrollbar { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ListBox.HorizontalScrollbar property determines whether the System.Windows.Forms.ListBox should display a horizontal scroll bar when the width of items within the System.Windows.Forms.ListBox extend beyond the right edge of the control. When this property is set to true, the scroll bar is automatically displayed based on the width of items in the System.Windows.Forms.ListBox. If the System.Windows.Forms.ListBox is an owner-drawn System.Windows.Forms.ListBox, in order to properly display a horizontal scroll bar, you must set the ListBox.HorizontalExtent property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0