AutomationTextAttributesEnum
AutomationTextAttributesEnum
AutomationTextAttributesEnum
AutomationTextAttributesEnum
Enum
Definition
Defines constants that identify text attributes of a Microsoft UI Automation text range.
public : enum class AutomationTextAttributesEnumpublic enum AutomationTextAttributesEnumPublic Enum AutomationTextAttributesEnum// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| AnimationStyleAttribute AnimationStyleAttribute AnimationStyleAttribute AnimationStyleAttribute | 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 | Identifies the AnnotationObjects text attribute. |
| AnnotationTypesAttribute AnnotationTypesAttribute AnnotationTypesAttribute AnnotationTypesAttribute | 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 | Identifies the BackgroundColor text attribute, which specifies the background color of the text. |
| BulletStyleAttribute BulletStyleAttribute BulletStyleAttribute BulletStyleAttribute | 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 | Identifies the CapStyle text attribute, which specifies the capitalization style for the text. |
| CaretBidiModeAttribute CaretBidiModeAttribute CaretBidiModeAttribute CaretBidiModeAttribute | 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 | 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 | Identifies the Culture text attribute, which specifies the locale of the text by locale identifier (LCID). |
| FontNameAttribute FontNameAttribute FontNameAttribute FontNameAttribute | 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 | Identifies the FontSize text attribute, which specifies the point size of the font. |
| FontWeightAttribute FontWeightAttribute FontWeightAttribute FontWeightAttribute | Identifies the FontWeight text attribute, which specifies the relative stroke, thickness, or boldness of the font. |
| ForegroundColorAttribute ForegroundColorAttribute ForegroundColorAttribute ForegroundColorAttribute | Identifies the ForegroundColor text attribute, which specifies the foreground color of the text. |
| HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute HorizontalTextAlignmentAttribute | Identifies the HorizontalTextAlignment text attribute, which specifies how the text is aligned horizontally. |
| IndentationFirstLineAttribute IndentationFirstLineAttribute IndentationFirstLineAttribute IndentationFirstLineAttribute | Identifies the IndentationFirstLine text attribute, which specifies how far, in points, to indent the first line of a paragraph. |
| IndentationLeadingAttribute IndentationLeadingAttribute IndentationLeadingAttribute IndentationLeadingAttribute | Identifies the IndentationLeading text attribute, which specifies the leading indentation, in points. |
| IndentationTrailingAttribute IndentationTrailingAttribute IndentationTrailingAttribute IndentationTrailingAttribute | Identifies the IndentationTrailing text attribute, which specifies the trailing indentation, in points. |
| IsActiveAttribute IsActiveAttribute IsActiveAttribute IsActiveAttribute | 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 | Identifies the IsHidden text attribute, which indicates whether the text is hidden (true) or visible (false). |
| IsItalicAttribute IsItalicAttribute IsItalicAttribute IsItalicAttribute | Identifies the IsItalic text attribute, which indicates whether the text is italic (true) or not (false). |
| IsReadOnlyAttribute IsReadOnlyAttribute IsReadOnlyAttribute IsReadOnlyAttribute | Identifies the IsReadOnly text attribute, which indicates whether the text is read-only (true) or can be modified (false). |
| IsSubscriptAttribute IsSubscriptAttribute IsSubscriptAttribute IsSubscriptAttribute | Identifies the IsSubscript text attribute, which indicates whether the text is subscript (true) or not (false). |
| IsSuperscriptAttribute IsSuperscriptAttribute IsSuperscriptAttribute IsSuperscriptAttribute | Identifies the IsSuperscript text attribute, which indicates whether the text is subscript (true) or not (false). |
| LinkAttribute LinkAttribute LinkAttribute LinkAttribute | 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 | 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 | 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 | 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 | 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 | 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 | Identifies the OverlineColor text attribute, which specifies the color of the overline text decoration. |
| OverlineStyleAttribute OverlineStyleAttribute OverlineStyleAttribute OverlineStyleAttribute | 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 | 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 | Identifies the StrikethroughColor text attribute, which specifies the color of the strikethrough text decoration. |
| StrikethroughStyleAttribute StrikethroughStyleAttribute StrikethroughStyleAttribute StrikethroughStyleAttribute | 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 | 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 | Identifies the StyleName text attribute, which identifies the localized name of the text style in use for a text range. |
| TabsAttribute TabsAttribute TabsAttribute TabsAttribute | 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 | 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 | Identifies the UnderlineColor text attribute, which specifies the color of the underline text decoration. |
| UnderlineStyleAttribute UnderlineStyleAttribute UnderlineStyleAttribute UnderlineStyleAttribute | 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.