-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.AutomationTextAttributesEnum |
winrt enum |
Defines constants that identify text attributes of a Microsoft UI Automation text range.
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.
Identifies the BackgroundColor
text attribute, which specifies the background color of the text.
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.
Identifies the CapStyle
text attribute, which specifies the capitalization style for the text.
Identifies the Culture
text attribute, which specifies the locale of the text by locale identifier (LCID).
Identifies the FontName
text attribute, which specifies the name of the font. Examples: "Arial Black"; "Arial Narrow". The font name string is not localized.
Identifies the FontSize
text attribute, which specifies the point size of the font.
Identifies the FontWeight
text attribute, which specifies the relative stroke, thickness, or boldness of the font.
Identifies the ForegroundColor
text attribute, which specifies the foreground color of the text.
Identifies the HorizontalTextAlignment
text attribute, which specifies how the text is aligned horizontally.
Identifies the IndentationFirstLine
text attribute, which specifies how far, in points, to indent the first line of a paragraph.
Identifies the IndentationLeading
text attribute, which specifies the leading indentation, in points.
Identifies the IndentationTrailing
text attribute, which specifies the trailing indentation, in points.
-field IsHiddenAttribute:40013
Identifies the IsHidden
text attribute, which indicates whether the text is hidden (true
) or visible (false
).
Identifies the IsItalic
text attribute, which indicates whether the text is italic (true
) or not (false
).
Identifies the IsReadOnly
text attribute, which indicates whether the text is read-only (true
) or can be modified (false
).
Identifies the IsSubscript
text attribute, which indicates whether the text is subscript (true
) or not (false
).
Identifies the IsSuperscript
text attribute, which indicates whether the text is subscript (true
) or not (false
).
Identifies the MarginBottom
text attribute, which specifies the size, in points, of the bottom margin applied to the page associated with the text range.
Identifies the MarginLeading
text attribute, which specifies the size, in points, of the leading margin applied to the page associated with the text range.
Identifies the MarginTop
text attribute, which specifies the size, in points, of the top margin applied to the page associated with the text range.
Identifies the MarginTrailing
text attribute, which specifies the size, in points, of the trailing margin applied to the page associated with the text range.
Identifies the OutlineStyles
text attribute, which specifies the outline style of the text. This attribute is specified as a value of the AutomationOutlineStyles enumeration.
Identifies the OverlineColor
text attribute, which specifies the color of the overline text decoration.
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.
Identifies the StrikethroughColor
text attribute, which specifies the color of the strikethrough text decoration.
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.
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.
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.
Identifies the UnderlineColor
text attribute, which specifies the color of the underline text decoration.
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.
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.
Identifies the AnnotationObjects
text attribute.
Identifies the StyleName
text attribute, which identifies the localized name of the text style in use for a text range.
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.
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.
Identifies the IsActive
text attribute, which indicates whether the control that contains the text range has the keyboard focus (true
) or not (false
).
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.
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.
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.
For more info, see Text Attribute Identifiers.
ITextRangeProvider.GetAttributeValue, Text Attribute Identifiers