AutomationTextAttributesEnum AutomationTextAttributesEnum AutomationTextAttributesEnum AutomationTextAttributesEnum Enum

Definition

Defines constants that identify text attributes of a Microsoft UI Automation text range.

public : enum class AutomationTextAttributesEnum
enum class winrt::Windows::UI::Xaml::AutomationTextAttributesEnum : int32_t
public enum AutomationTextAttributesEnum
Public Enum AutomationTextAttributesEnum
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AnimationStyleAttribute AnimationStyleAttribute AnimationStyleAttribute AnimationStyleAttribute 40000

Identifies the AnimationStyle text attribute, which specifies the type of animation applied to the text. This attribute is specified as a value of the AutomationAnimationStyle enumeration.

AnnotationObjectsAttribute AnnotationObjectsAttribute AnnotationObjectsAttribute AnnotationObjectsAttribute 40032

Identifies the AnnotationObjects text attribute.

AnnotationTypesAttribute AnnotationTypesAttribute AnnotationTypesAttribute AnnotationTypesAttribute 40031

Identifies the AnnotationTypes text attribute, which maintains a list of annotation type identifiers for a range of text. This attribute is specified as a value of the AnnotationType enumeration.

BackgroundColorAttribute BackgroundColorAttribute BackgroundColorAttribute BackgroundColorAttribute 40001

Identifies the BackgroundColor text attribute, which specifies the background color of the text.

BulletStyleAttribute BulletStyleAttribute BulletStyleAttribute BulletStyleAttribute 40002

Identifies the BulletStyle text attribute, which specifies the style of bullets used in the text range. This attribute is specified as a value of the AutomationBulletStyle enumeration.

CapStyleAttribute CapStyleAttribute CapStyleAttribute CapStyleAttribute 40003

Identifies the CapStyle text attribute, which specifies the capitalization style for the text.

CaretBidiModeAttribute CaretBidiModeAttribute CaretBidiModeAttribute CaretBidiModeAttribute 40039

Identifies the CaretBidiMode text attribute, which indicates the direction of text flow in the text range. This attribute is specified as a value of the AutomationCaretBidiMode enumeration.

CaretPositionAttribute CaretPositionAttribute CaretPositionAttribute CaretPositionAttribute 40038

Identifies the CaretPosition text attribute, which indicates whether the caret is at the beginning or the end of a line of text in the text range. This attribute is specified as a value of the AutomationCaretPosition enumeration.

CultureAttribute CultureAttribute CultureAttribute CultureAttribute 40004

Identifies the Culture text attribute, which specifies the locale of the text by locale identifier (LCID).

FontNameAttribute FontNameAttribute FontNameAttribute FontNameAttribute 40005

Identifies the FontName text attribute, which specifies the name of the font. Examples: "Arial Black"; "Arial Narrow". The font name string is not localized.

FontSizeAttribute FontSizeAttribute FontSizeAttribute FontSizeAttribute 40006

Identifies the FontSize text attribute, which specifies the point size of the font.

FontWeightAttribute FontWeightAttribute FontWeightAttribute FontWeightAttribute 40007

Identifies the FontWeight text attribute, which specifies the relative stroke, thickness, or boldness of the font.

ForegroundColorAttribute ForegroundColorAttribute ForegroundColorAttribute ForegroundColorAttribute 40008

Identifies the ForegroundColor text attribute, which specifies the foreground color of the text.

HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute 40009

Identifies the HorizontalTextAlignment text attribute, which specifies how the text is aligned horizontally.

IndentationFirstLineAttribute IndentationFirstLineAttribute IndentationFirstLineAttribute IndentationFirstLineAttribute 40010

Identifies the IndentationFirstLine text attribute, which specifies how far, in points, to indent the first line of a paragraph.

IndentationLeadingAttribute IndentationLeadingAttribute IndentationLeadingAttribute IndentationLeadingAttribute 40011

Identifies the IndentationLeading text attribute, which specifies the leading indentation, in points.

IndentationTrailingAttribute IndentationTrailingAttribute IndentationTrailingAttribute IndentationTrailingAttribute 40012

Identifies the IndentationTrailing text attribute, which specifies the trailing indentation, in points.

IsActiveAttribute IsActiveAttribute IsActiveAttribute IsActiveAttribute 40036

Identifies the IsActive text attribute, which indicates whether the control that contains the text range has the keyboard focus (true) or not (false).

IsHiddenAttribute IsHiddenAttribute IsHiddenAttribute IsHiddenAttribute 40013

Identifies the IsHidden text attribute, which indicates whether the text is hidden (true) or visible (false).

IsItalicAttribute IsItalicAttribute IsItalicAttribute IsItalicAttribute 40014

Identifies the IsItalic text attribute, which indicates whether the text is italic (true) or not (false).

IsReadOnlyAttribute IsReadOnlyAttribute IsReadOnlyAttribute IsReadOnlyAttribute 40015

Identifies the IsReadOnly text attribute, which indicates whether the text is read-only (true) or can be modified (false).

IsSubscriptAttribute IsSubscriptAttribute IsSubscriptAttribute IsSubscriptAttribute 40016

Identifies the IsSubscript text attribute, which indicates whether the text is subscript (true) or not (false).

IsSuperscriptAttribute IsSuperscriptAttribute IsSuperscriptAttribute IsSuperscriptAttribute 40017

Identifies the IsSuperscript text attribute, which indicates whether the text is subscript (true) or not (false).

LinkAttribute LinkAttribute LinkAttribute LinkAttribute 40035

Identifies the Link text attribute, which contains the ITextRangeProvider interface of the text range that is the target of an internal link in a document.

MarginBottomAttribute MarginBottomAttribute MarginBottomAttribute MarginBottomAttribute 40018

Identifies the MarginBottom text attribute, which specifies the size, in points, of the bottom margin applied to the page associated with the text range.

MarginLeadingAttribute MarginLeadingAttribute MarginLeadingAttribute MarginLeadingAttribute 40019

Identifies the MarginLeading text attribute, which specifies the size, in points, of the leading margin applied to the page associated with the text range.

MarginTopAttribute MarginTopAttribute MarginTopAttribute MarginTopAttribute 40020

Identifies the MarginTop text attribute, which specifies the size, in points, of the top margin applied to the page associated with the text range.

MarginTrailingAttribute MarginTrailingAttribute MarginTrailingAttribute MarginTrailingAttribute 40021

Identifies the MarginTrailing text attribute, which specifies the size, in points, of the trailing margin applied to the page associated with the text range.

OutlineStylesAttribute OutlineStylesAttribute OutlineStylesAttribute OutlineStylesAttribute 40022

Identifies the OutlineStyles text attribute, which specifies the outline style of the text. This attribute is specified as a value of the AutomationOutlineStyles enumeration.

OverlineColorAttribute OverlineColorAttribute OverlineColorAttribute OverlineColorAttribute 40023

Identifies the OverlineColor text attribute, which specifies the color of the overline text decoration.

OverlineStyleAttribute OverlineStyleAttribute OverlineStyleAttribute OverlineStyleAttribute 40024

Identifies the OverlineStyle text attribute, which specifies the style of the overline text decoration. This attribute is specified as a value of the AutomationTextDecorationLineStyle enumeration.

SelectionActiveEndAttribute SelectionActiveEndAttribute SelectionActiveEndAttribute SelectionActiveEndAttribute 40037

Identifies the SelectionActiveEnd text attribute, which indicates the location of the caret relative to a text range that represents the currently selected text. This attribute is specified as a value from the AutomationActiveEnd enumeration.

StrikethroughColorAttribute StrikethroughColorAttribute StrikethroughColorAttribute StrikethroughColorAttribute 40025

Identifies the StrikethroughColor text attribute, which specifies the color of the strikethrough text decoration.

StrikethroughStyleAttribute StrikethroughStyleAttribute StrikethroughStyleAttribute StrikethroughStyleAttribute 40026

Identifies the StrikethroughStyle text attribute, which specifies the style of the strikethrough text decoration. This attribute is specified as a value of the AutomationTextDecorationLineStyle enumeration.

StyleIdAttribute StyleIdAttribute StyleIdAttribute StyleIdAttribute 40034

Identifies the StyleId text attribute, which indicates the text styles in use for a text range. This attribute is specified as a value of the AutomationStyleId enumeration.

StyleNameAttribute StyleNameAttribute StyleNameAttribute StyleNameAttribute 40033

Identifies the StyleName text attribute, which identifies the localized name of the text style in use for a text range.

TabsAttribute TabsAttribute TabsAttribute TabsAttribute 40027

Identifies the Tabs text attribute, which is an array specifying the tab stops for the text range. Each array element specifies a distance, in points, from the leading margin.

TextFlowDirectionsAttribute TextFlowDirectionsAttribute TextFlowDirectionsAttribute TextFlowDirectionsAttribute 40028

Identifies the TextFlowDirections text attribute, which specifies the direction of text flow. This attribute is specified as a combination of values of the AutomationFlowDirections enumeration.

UnderlineColorAttribute UnderlineColorAttribute UnderlineColorAttribute UnderlineColorAttribute 40029

Identifies the UnderlineColor text attribute, which specifies the color of the underline text decoration.

UnderlineStyleAttribute UnderlineStyleAttribute UnderlineStyleAttribute UnderlineStyleAttribute 40030

Identifies the UnderlineStyle text attribute, which specifies the style of the underline text decoration. This attribute is specified as a value of the AutomationTextDecorationLineStyle enumeration.

Remarks

For more info, see Text Attribute Identifiers.

See also