AccessText.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

属性值

TextAlignment

文本的水平对齐方式。

注解

有关对齐列表,请参阅 TextAlignment

依赖项属性信息

标识符字段 TextAlignmentProperty
元数据属性设置为 true AffectsMeasureAffectsRenderInherits

适用于