NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.AutoScroll

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

[Visual Basic]
Overridable Public Property AutoScroll As Boolean
[C#]
public bool AutoScroll {override get; override set;}
[C++]
public: __property virtual bool get_AutoScroll();
public: __property virtual void set_AutoScroll(bool);
[JScript]
public function get AutoScroll() : Boolean;
public function set AutoScroll(Boolean);

Property Value

true to enable autoscrolling on the form; otherwise false. The default is true.

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 that has input focus visible.

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

See Also

Form Class | Form Members | System.WinForms Namespace