.NET Framework Class Library
Form.AutoSize Property

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

This member overrides Control.AutoSize.

Syntax

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)
Version Information

.NET Framework

Supported in: 2.0
See Also

Tags :


Page view tracker