Export (0) Print
Expand All

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.

[Visual Basic]
Public Property Scrollable As Boolean
public bool Scrollable {get; set;}
public: __property bool get_Scrollable();
public: __property void set_Scrollable(bool);
public function get Scrollable() : Boolean;
public function set Scrollable(Boolean);

Property Value

true if scroll bars are added to the control when necessary to allow the user to see all the items; otherwise, false. The default is true.


When this property is set to true, the ListView displays a vertical scrollbar 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 ListView control.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ListView Class | ListView Members | System.Windows.Forms Namespace

© 2014 Microsoft