TextPatternIdentifiers Class

Definition

Contains values used as identifiers for ITextProvider.

public ref class TextPatternIdentifiers abstract sealed
public static class TextPatternIdentifiers
type TextPatternIdentifiers = class
Public Class TextPatternIdentifiers
Inheritance
TextPatternIdentifiers

Remarks

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.

Fields

AnimationStyleAttribute

Identifies the AnimationStyle attribute of a text range.

BackgroundColorAttribute

Identifies the BackgroundColor attribute of a text range.

BulletStyleAttribute

Identifies the BulletStyle attribute of a text range.

CapStyleAttribute

Identifies the CapStyle attribute of a text range.

CultureAttribute

Identifies the Culture (CultureInfo) attribute of a text range down to the sub-language level; for example, French-Switzerland (fr-CH) instead of French (fr).

FontNameAttribute

Identifies the FontName attribute of a text range.

FontSizeAttribute

Identifies the FontSize attribute of a text range.

FontWeightAttribute

Identifies the FontWeight attribute of a text range.

ForegroundColorAttribute

Identifies the ForegroundColor (COLORREF) attribute of a text range.

HorizontalTextAlignmentAttribute

Identifies the HorizontalTextAlignment attribute of a text range.

IndentationFirstLineAttribute

Identifies the IndentationFirstLine (TextIndent) attribute of a text range.

IndentationLeadingAttribute

Identifies the IndentationLeading (TextIndent) attribute of a text range.

IndentationTrailingAttribute

Identifies the IndentationTrailing (TextIndent) attribute of a text range.

IsHiddenAttribute

Identifies the IsHidden attribute of a text range.

IsItalicAttribute

Identifies the IsItalic (FontStyle) attribute of a text range.

IsReadOnlyAttribute

Identifies the IsReadOnly attribute of a text range.

IsSubscriptAttribute

Identifies the IsSubscript (FontVariants) attribute of a text range.

IsSuperscriptAttribute

Identifies the IsSuperscript (FontVariants) attribute of a text range.

MarginBottomAttribute

Identifies the MarginBottom (PageSettings) attribute of a text range.

MarginLeadingAttribute

Identifies the MarginLeading (PageSettings) attribute of a text range.

MarginTopAttribute

Identifies the MarginTop (PageSettings) attribute of a text range.

MarginTrailingAttribute

Identifies the MarginTrailing (PageSettings) attribute of a text range.

MixedAttributeValue

Identifies whether the value of a given attribute varies over a text range in a rich edit control.

OutlineStylesAttribute

Identifies the OutlineStyles (OutlineStyles) attribute of a text range.

OverlineColorAttribute

Identifies the OverlineColor attribute of a text range.

OverlineStyleAttribute

Identifies the OverlineStyle (TextDecorationLineStyle) attribute of a text range.

Pattern

Identifies the TextPattern pattern.

StrikethroughColorAttribute

Identifies the StrikethroughColor attribute of a text range.

StrikethroughStyleAttribute

Identifies the StrikethroughStyle (TextDecorationLineStyle) attribute of a text range.

TabsAttribute

Identifies the Tabs attribute of a text range.

TextChangedEvent

Identifies the event raised whenever textual content is modified.

TextFlowDirectionsAttribute

Identifies the TextFlowDirections (FlowDirections) attribute of a text range.

TextSelectionChangedEvent

Identifies the event raised whenever the text selection is modified.

UnderlineColorAttribute

Identifies the UnderlineColor attribute of a text range.

UnderlineStyleAttribute

Identifies the UnderlineStyle (TextDecorationLineStyle) attribute of a text range.

Applies to

See also