共用方式為


Title.Alignment 屬性

定義

取得或設定標題的對齊方式。

public:
 property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
[System.ComponentModel.Bindable(true)]
public System.Drawing.ContentAlignment Alignment { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Property Alignment As ContentAlignment

屬性值

ContentAlignment 列舉值,表示文字繪製區內的標題對齊方式。 預設值是 MiddleCenter

屬性

備註

如果屬性未設定為 AutoPositionAlignment 屬性對對齊沒有作用。

適用於