TextPatternIdentifiers.HorizontalTextAlignmentAttribute Field

Definition

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 

Field Value

Remarks

The horizontal text alignment applied to the paragraph(s) associated with the calling text range.

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.

Values for this attribute are of type

HorizontalTextAlignment

The default value is Left

Applies to

See also