TextPatternIdentifiers.HorizontalTextAlignmentAttribute Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Identifies the HorizontalTextAlignment attribute of a text range.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly AutomationTextAttribute HorizontalTextAlignmentAttribute

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

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: