System.Windows.Forms.TreeView.Scrollable Property

Gets or sets a value indicating whether the tree view control displays scroll bars when they are needed.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

If this property is set to true, scroll bars are displayed on the System.Windows.Forms.TreeView when any System.Windows.Forms.TreeNode is located outside the control's client region.

Note:

When setting the TreeView.Scrollable property at run time, the System.Windows.Forms.TreeView handle is recreated (see Control.RecreateHandle) to update the control's appearance. This causes all tree nodes to be collapsed, with the exception of the selected System.Windows.Forms.TreeNode.

Requirements

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