TextPatternIdentifiers Klass

Definition

Innehåller värden som används som identifierare för ITextProvider.

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

Kommentarer

TextPattern visar detaljerad information om textinnehållet i objekt som redigeringskontroller och dokument.

UI Automation providrar bör skrivas så att de kan arbeta i en partisk förtroendemiljö. Eftersom UIAutomationClient.dll inte har konfigurerats för fullständigt förtroende bör providerkoden inte referera till den sammansättningen. Om den gör det kan koden köras i en miljö med fullständigt förtroende men misslyckas sedan i en partiell förtroendemiljö.

I synnerhet ska du inte använda fält från klasser i UIAutomationClient.dll som de i AutomationElement. Använd i stället motsvarande fält från klasser i UIAutomationTypes.dll, till exempel AutomationElementIdentifiers.

Fält

Name Description
AnimationStyleAttribute

Identifierar attributet för AnimationStyle ett textintervall.

BackgroundColorAttribute

Identifierar attributet BackgroundColor för ett textintervall.

BulletStyleAttribute

Identifierar attributet för BulletStyle ett textintervall.

CapStyleAttribute

Identifierar attributet för CapStyle ett textintervall.

CultureAttribute

Identifierar attributet Kultur (CultureInfo) för ett textintervall ned till underspråksnivå, till exempel French-Switzerland (fr-CH) i stället för franska (fr).

FontNameAttribute

Identifierar attributet för FontName ett textintervall.

FontSizeAttribute

Identifierar attributet för FontSize ett textintervall.

FontWeightAttribute

Identifierar attributet för FontWeight ett textintervall.

ForegroundColorAttribute

Identifierar attributet ForegroundColor (COLORREF) för ett textintervall.

HorizontalTextAlignmentAttribute

Identifierar attributet för HorizontalTextAlignment ett textintervall.

IndentationFirstLineAttribute

Identifierar IndentationFirstLine attributet (TextIndent) för ett textintervall.

IndentationLeadingAttribute

Identifierar IndentationLeading attributet (TextIndent) för ett textintervall.

IndentationTrailingAttribute

Identifierar IndentationTrailing attributet (TextIndent) för ett textintervall.

IsHiddenAttribute

Identifierar attributet för IsHidden ett textintervall.

IsItalicAttribute

Identifierar IsItalic attributet (FontStyle) för ett textintervall.

IsReadOnlyAttribute

Identifierar attributet för IsReadOnly ett textintervall.

IsSubscriptAttribute

Identifierar IsSubscript attributet (FontVariants) för ett textintervall.

IsSuperscriptAttribute

Identifierar IsSuperscript attributet (FontVariants) för ett textintervall.

MarginBottomAttribute

Identifierar MarginBottom attributet (PageSettings) för ett textintervall.

MarginLeadingAttribute

Identifierar MarginLeading attributet (PageSettings) för ett textintervall.

MarginTopAttribute

Identifierar MarginTop attributet (PageSettings) för ett textintervall.

MarginTrailingAttribute

Identifierar MarginTrailing attributet (PageSettings) för ett textintervall.

MixedAttributeValue

Identifierar om värdet för ett visst attribut varierar över ett textintervall i en rtF-redigeringskontroll.

OutlineStylesAttribute

Identifierar OutlineStyles attributet (OutlineStyles) för ett textintervall.

OverlineColorAttribute

Identifierar attributet för OverlineColor ett textintervall.

OverlineStyleAttribute

Identifierar OverlineStyle attributet (TextDecorationLineStyle) för ett textintervall.

Pattern

Identifierar TextPattern mönstret.

StrikethroughColorAttribute

Identifierar attributet för StrikethroughColor ett textintervall.

StrikethroughStyleAttribute

Identifierar StrikethroughStyle attributet (TextDecorationLineStyle) för ett textintervall.

TabsAttribute

Identifierar attributet för Tabs ett textintervall.

TextChangedEvent

Identifierar händelsen som genereras när textinnehåll ändras.

TextFlowDirectionsAttribute

Identifierar TextFlowDirections attributet (FlowDirections) för ett textintervall.

TextSelectionChangedEvent

Identifierar händelsen som genereras när textmarkeringen ändras.

UnderlineColorAttribute

Identifierar attributet för UnderlineColor ett textintervall.

UnderlineStyleAttribute

Identifierar UnderlineStyle attributet (TextDecorationLineStyle) för ett textintervall.

Gäller för

Se även