TextPatternIdentifiers Klass
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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 |
| FontSizeAttribute |
Identifierar attributet för |
| FontWeightAttribute |
Identifierar attributet för |
| ForegroundColorAttribute |
Identifierar attributet ForegroundColor (COLORREF) för ett textintervall. |
| HorizontalTextAlignmentAttribute |
Identifierar attributet för HorizontalTextAlignment ett textintervall. |
| IndentationFirstLineAttribute |
Identifierar |
| IndentationLeadingAttribute |
Identifierar |
| IndentationTrailingAttribute |
Identifierar |
| IsHiddenAttribute |
Identifierar attributet för |
| IsItalicAttribute |
Identifierar |
| IsReadOnlyAttribute |
Identifierar attributet för |
| IsSubscriptAttribute |
Identifierar |
| IsSuperscriptAttribute |
Identifierar |
| MarginBottomAttribute |
Identifierar |
| MarginLeadingAttribute |
Identifierar |
| MarginTopAttribute |
Identifierar |
| MarginTrailingAttribute |
Identifierar |
| MixedAttributeValue |
Identifierar om värdet för ett visst attribut varierar över ett textintervall i en rtF-redigeringskontroll. |
| OutlineStylesAttribute |
Identifierar |
| OverlineColorAttribute |
Identifierar attributet för |
| OverlineStyleAttribute |
Identifierar |
| Pattern |
Identifierar TextPattern mönstret. |
| StrikethroughColorAttribute |
Identifierar attributet för |
| StrikethroughStyleAttribute |
Identifierar |
| TabsAttribute |
Identifierar attributet för |
| TextChangedEvent |
Identifierar händelsen som genereras när textinnehåll ändras. |
| TextFlowDirectionsAttribute |
Identifierar |
| TextSelectionChangedEvent |
Identifierar händelsen som genereras när textmarkeringen ändras. |
| UnderlineColorAttribute |
Identifierar attributet för |
| UnderlineStyleAttribute |
Identifierar |
Gäller för
Se även
- översikt över UI Automation-leverantörer