TextPatternIdentifiers.HorizontalTextAlignmentAttribute 字段

定义

HorizontalTextAlignment标识文本范围的属性。

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ HorizontalTextAlignmentAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute HorizontalTextAlignmentAttribute;
 staticval mutable HorizontalTextAlignmentAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly HorizontalTextAlignmentAttribute As AutomationTextAttribute 

字段值

注解

应用于与调用文本范围关联的段落的水平文本对齐方式。

UI 自动化提供程序使用此标识符。 UI 自动化客户端应用程序应使用 TextPattern 中的等效字段。

此属性的值属于类型

HorizontalTextAlignment

默认值为 Left

适用于

另请参阅