ToolStripControlHost.ControlAlign Property

Definition

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

Property Value

ContentAlignment

Uno de los valores de ContentAlignment.One of the ContentAlignment values. El valor predeterminado es MiddleCenter.The default is MiddleCenter.

Attributes

Exceptions

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.

Remarks

Utilice la propiedad ControlAlign 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.

Applies to