System.Windows.Forms.Form.MinimumSize Property

Gets or sets the minimum size the form can be resized to.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
public override System.Drawing.Size MinimumSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property enables you to limit the size of a form to a specified minimum size. You can use this feature to prevent a user from sizing a window to an undesirable size. If this property is set to a System.Drawing.Size object that is 0 in height and 0 in width, the form will have no minimum size beyond the limits set by Windows.

Requirements

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