Export (0) Print
Expand All

TextPatternIdentifiers Class

Contains values used as identifiers for ITextProvider.

System.Object
  System.Windows.Automation.TextPatternIdentifiers

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

public static class TextPatternIdentifiers

The TextPatternIdentifiers type exposes the following members.

  NameDescription
Public fieldStatic memberAnimationStyleAttributeIdentifies the AnimationStyle attribute of a text range.
Public fieldStatic memberBackgroundColorAttributeIdentifies the BackgroundColor attribute of a text range.
Public fieldStatic memberBulletStyleAttributeIdentifies the BulletStyle attribute of a text range.
Public fieldStatic memberCapStyleAttributeIdentifies the CapStyle attribute of a text range.
Public fieldStatic memberCultureAttributeIdentifies the Culture (CultureInfo) attribute of a text range down to the sub-language level; for example, French–Switzerland (fr-CH) instead of French (fr).
Public fieldStatic memberFontNameAttributeIdentifies the FontName attribute of a text range.
Public fieldStatic memberFontSizeAttributeIdentifies the FontSize attribute of a text range.
Public fieldStatic memberFontWeightAttributeIdentifies the FontWeight attribute of a text range.
Public fieldStatic memberForegroundColorAttributeIdentifies the ForegroundColor (COLORREF) attribute of a text range.
Public fieldStatic memberHorizontalTextAlignmentAttributeIdentifies the HorizontalTextAlignment attribute of a text range.
Public fieldStatic memberIndentationFirstLineAttributeIdentifies the IndentationFirstLine (TextIndent) attribute of a text range.
Public fieldStatic memberIndentationLeadingAttributeIdentifies the IndentationLeading (TextIndent) attribute of a text range.
Public fieldStatic memberIndentationTrailingAttributeIdentifies the IndentationTrailing (TextIndent) attribute of a text range.
Public fieldStatic memberIsHiddenAttributeIdentifies the IsHidden attribute of a text range.
Public fieldStatic memberIsItalicAttributeIdentifies the IsItalic (FontStyle) attribute of a text range.
Public fieldStatic memberIsReadOnlyAttributeIdentifies the IsReadOnly attribute of a text range.
Public fieldStatic memberIsSubscriptAttributeIdentifies the IsSubscript (FontVariants) attribute of a text range.
Public fieldStatic memberIsSuperscriptAttributeIdentifies the IsSuperscript (FontVariants) attribute of a text range.
Public fieldStatic memberMarginBottomAttributeIdentifies the MarginBottom (PageSettings) attribute of a text range.
Public fieldStatic memberMarginLeadingAttributeIdentifies the MarginLeading (PageSettings) attribute of a text range.
Public fieldStatic memberMarginTopAttributeIdentifies the MarginTop (PageSettings) attribute of a text range.
Public fieldStatic memberMarginTrailingAttributeIdentifies the MarginTrailing (PageSettings) attribute of a text range.
Public fieldStatic memberMixedAttributeValueIdentifies whether the value of a given attribute varies over a text range in a rich edit control.
Public fieldStatic memberOutlineStylesAttributeIdentifies the OutlineStyles (OutlineStyles) attribute of a text range.
Public fieldStatic memberOverlineColorAttributeIdentifies the OverlineColor attribute of a text range.
Public fieldStatic memberOverlineStyleAttributeIdentifies the OverlineStyle (TextDecorationLineStyle) attribute of a text range.
Public fieldStatic memberPatternIdentifies the TextPattern pattern.
Public fieldStatic memberStrikethroughColorAttributeIdentifies the StrikethroughColor attribute of a text range.
Public fieldStatic memberStrikethroughStyleAttributeIdentifies the StrikethroughStyle (TextDecorationLineStyle) attribute of a text range.
Public fieldStatic memberTabsAttributeIdentifies the Tabs attribute of a text range.
Public fieldStatic memberTextChangedEventIdentifies the event raised whenever textual content is modified.
Public fieldStatic memberTextFlowDirectionsAttributeIdentifies the TextFlowDirections (FlowDirections) attribute of a text range.
Public fieldStatic memberTextSelectionChangedEventIdentifies the event raised whenever the text selection is modified.
Public fieldStatic memberUnderlineColorAttributeIdentifies the UnderlineColor attribute of a text range.
Public fieldStatic memberUnderlineStyleAttributeIdentifies the UnderlineStyle (TextDecorationLineStyle) attribute of a text range.
Top

TextPattern exposes detailed information of the textual contents of objects such as edit controls and documents.

UI Automation providers should be written so that they can work in a partial-trust environment. Because UIAutomationClient.dll is not configured for full trust, your provider code should not reference that assembly. If it does so, the code may run in a full-trust environment but then fail in a partial-trust environment.

In particular, do not use fields from classes in UIAutomationClient.dll such as those in AutomationElement. Instead, use the equivalent fields from classes in UIAutomationTypes.dll, such as AutomationElementIdentifiers.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft