System.Windows.Forms.Form.AutoScroll Property

Gets or sets a value indicating whether the form enables autoscrolling.

Syntax

[System.ComponentModel.Localizable(true)]
public override bool AutoScroll { 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 form if any controls are located outside the form's client region. Additionally, when autoscrolling is on, the client area of the form automatically scrolls to make the control with input focus visible.

You can use this property to prevent users from losing the ability to view controls when their video resolution settings are set to a low resolution.

Requirements

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