System.Windows.Forms.ListView.Scrollable Property

Gets or sets a value indicating whether a scroll bar is added to the control when there is not enough room to display all items.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

When this property is set to true, the System.Windows.Forms.ListView displays a vertical scroll bar to use when the number of items exceeds the size of the client area of the control. You can use this property to ensure that the user can access all items that are available in the System.Windows.Forms.ListView control.

Note:

In versions of the dnprdnshort prior to version 2.0, the column headers were not painted correctly when setting this property to false and resizing the control to make it larger. To work around this issue, set this property to true in a Form.ResizeBegin event handler and set it back to false in a Form.ResizeEnd event handler.

Requirements

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