ToolStripControlHost.ControlAlign ToolStripControlHost.ControlAlign ToolStripControlHost.ControlAlign ToolStripControlHost.ControlAlign Property

Definición

Obtiene o establece la alineación del control en el formulario.Gets or sets the alignment of the control on the form.

public:
 property System::Drawing::ContentAlignment ControlAlign { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.ContentAlignment ControlAlign { get; set; }
member this.ControlAlign : System.Drawing.ContentAlignment with get, set
Public Property ControlAlign As ContentAlignment

Valor de propiedad

Uno de los valores de ContentAlignment.One of the ContentAlignment values. De manera predeterminada, es MiddleCenter.The default is MiddleCenter.

Excepciones

La propiedad ControlAlign se establece en un valor que no es uno de los valores de ContentAlignment.The ControlAlign property is set to a value that is not one of the ContentAlignment values.

Comentarios

Utilice la ControlAlign propiedad para determinar o definir cómo se colocarán los controles hospedados en el formulario.Use the ControlAlign property to determine or define how hosted controls are to be laid out on the form.

Se aplica a