Επεξεργασία

Κοινή χρήση μέσω


Form.MaximizedBounds Property

Definition

Gets or sets the size of the form when it is maximized.

protected:
 property System::Drawing::Rectangle MaximizedBounds { System::Drawing::Rectangle get(); void set(System::Drawing::Rectangle value); };
protected System.Drawing.Rectangle MaximizedBounds { get; set; }
member this.MaximizedBounds : System.Drawing.Rectangle with get, set
Protected Property MaximizedBounds As Rectangle

Property Value

A Rectangle that represents the bounds of the form when it is maximized.

Exceptions

The value of the Top property is greater than the height of the form.

-or-

The value of the Left property is greater than the width of the form.

Notes to Inheritors

Classes that inherit from Form can override this method to provide new bounds for the form when it is maximized. The class sets this property internally when the form's Maximize button is clicked.

Applies to

See also