ToolStripControlHost.ControlAlign Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit l’alignement du contrôle sur le formulaire.
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
Valeur de propriété
Une des ContentAlignment valeurs. La valeur par défaut est MiddleCenter.
- Attributs
Exceptions
La ControlAlign propriété est définie sur une valeur qui n’est pas l’une des ContentAlignment valeurs.
Remarques
Utilisez la ControlAlign propriété pour déterminer ou définir la façon dont les contrôles hébergés doivent être disposés sur le formulaire.