Share via


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 

欄位值

備註

套用至段落的水準文字對齊方式, (與呼叫文字範圍相關聯的) 。

消費者介面自動化提供者會使用此識別碼。 消費者介面自動化用戶端應用程式應該使用 中的 TextPattern 對等欄位。

此屬性的值的類型為

HorizontalTextAlignment

預設值為 Left

適用於

另請參閱