System.Windows.Forms.ListBox.ScrollAlwaysVisible Property

Gets or sets a value indicating whether the vertical scroll bar is shown at all times.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The ListBox.ScrollAlwaysVisible property indicates whether a vertical scroll bar is always displayed, even if the number of items in the System.Windows.Forms.ListBox does not require displaying the vertical scroll bar. By default, a System.Windows.Forms.ListBox only shows a vertical scroll bar when there are enough items to warrant displaying. For a multicolumn System.Windows.Forms.ListBox, the ListBox.ScrollAlwaysVisible property indicates that a horizontal scroll bar is displayed. A vertical scroll bar is never displayed regardless of the value of this property for a multicolumn System.Windows.Forms.ListBox.

Requirements

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