Form.MinimumSize Propiedad

Definición

Obtiene o establece el tamaño mínimo al que se puede cambiar el tamaño del formulario.

public:
 property System::Drawing::Size MinimumSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public:
 virtual property System::Drawing::Size MinimumSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public System.Drawing.Size MinimumSize { get; set; }
public override System.Drawing.Size MinimumSize { get; set; }
member this.MinimumSize : System.Drawing.Size with get, set
Public Property MinimumSize As Size
Public Overrides Property MinimumSize As Size

Valor de propiedad

Size que representa el tamaño mínimo del formulario.

Excepciones

Los valores del alto o ancho dentro del Size objeto son menores que cero.

Comentarios

Esta propiedad permite limitar el tamaño de un formulario a un tamaño mínimo especificado. Puede usar esta característica para evitar que un usuario ajuste el tamaño de una ventana a un tamaño no deseado. Si esta propiedad se establece en un objeto Size que es 0 en alto y 0 en ancho, el formulario no tendrá ningún tamaño mínimo más allá de los límites establecidos por Windows.

Se aplica a