Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Form Class
Form Properties
 AutoSize Property

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
Form.AutoSize Property

Note: This property is new in the .NET Framework version 2.0.

This member overrides Control.AutoSize.

Visual Basic (Declaration)
Public Overrides Property AutoSize As Boolean
Visual Basic (Usage)
Dim instance As Form
Dim value As Boolean

value = instance.AutoSize

instance.AutoSize = value
C#
public override bool AutoSize { get; set; }
C++
public:
virtual property bool AutoSize {
    bool get () override;
    void set (bool value) override;
}
J#
/** @property */
public boolean get_AutoSize ()

/** @property */
public void set_AutoSize (boolean value)
JScript
public override function get AutoSize () : boolean

public override function set AutoSize (value : boolean)

.NET Framework

Supported in: 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker