TextPatternIdentifiers.HorizontalTextAlignmentAttribute 字段

定义

标识文本范围的 HorizontalTextAlignment 特性。Identifies the HorizontalTextAlignment attribute of a text range.

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 

字段值

注解

应用于与调用文本范围关联的段落的水平文本对齐方式。The horizontal text alignment applied to the paragraph(s) associated with the calling text range.

此标识符由 UI 自动化提供程序使用。This identifier is used by UI Automation providers. UI 自动化客户端应用程序应在中TextPattern使用等效字段。UI Automation client applications should use the equivalent field in TextPattern.

此属性的值的类型为Values for this attribute are of type

HorizontalTextAlignment

默认值为 LeftThe default value is Left

适用于

另请参阅