语言

FormattedText.TextAlignment 属性

定义

获取或设置对象中 FormattedText 文本的对齐方式。

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

属性值

指定 TextAlignment 对象中文本对齐方式的值之一 FormattedText 。

适用于