RibbonTwoLineText.TextAlignment 屬性

定義

取得或設定值,指出此項目中文字內容的水平對齊方向。

public:
 property System::Windows::TextAlignment TextAlignment { System::Windows::TextAlignment get(); void set(System::Windows::TextAlignment value); };
public System.Windows.TextAlignment TextAlignment { get; set; }
member this.TextAlignment : System.Windows.TextAlignment with get, set
Public Property TextAlignment As TextAlignment

屬性值

其中一個列舉值,指出此項目中文字內容的水平對齊方向。 預設為 Left

備註

這個屬性會取得或設定 TextAlignment 控制項內部 TextBlock 的 屬性值。 如需詳細資訊,請參閱TextBlock.TextAlignment

相依性屬性資訊

識別碼欄位 TextAlignmentProperty
中繼資料屬性設定為 true

適用於