ToolStripControlHost.ControlAlign Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[<System.ComponentModel.Browsable(false)>]
member this.ControlAlign : System.Drawing.ContentAlignment with get, set
Public Property ControlAlign As ContentAlignment
Property Value
One of the ContentAlignment values. The default is MiddleCenter.
- Attributes
Exceptions
The ControlAlign property is set to a value that is not one of the ContentAlignment values.
Remarks
Use the ControlAlign property to determine or define how hosted controls are to be laid out on the form.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.