TextPatternIdentifiers 類別

定義

包含 ITextProvider 做為識別項的值。

public ref class TextPatternIdentifiers abstract sealed
public static class TextPatternIdentifiers
type TextPatternIdentifiers = class
Public Class TextPatternIdentifiers
繼承
TextPatternIdentifiers

備註

TextPattern 會公開物件的文字內容詳細資訊,例如編輯控制項和檔。

應該撰寫消費者介面自動化提供者,使其可以在部分信任環境中運作。 因為UIAutomationClient.dll未設定為完全信任,所以您的提供者程式碼不應該參考該元件。 如果這樣做,程式碼可在完全信任環境中執行,但無法在部分信任環境中執行。

尤其,不要使用來自 UIAutomationClient.dll 中類別的欄位,例如 AutomationElement中的欄位。 請改用來自 UIAutomationTypes.dll 中類別的對等欄位,例如 AutomationElementIdentifiers

欄位

AnimationStyleAttribute

識別文字範圍的 AnimationStyle 屬性。

BackgroundColorAttribute

指出文字範圍的 BackgroundColor 屬性。

BulletStyleAttribute

識別文字範圍的 BulletStyle 屬性。

CapStyleAttribute

識別文字範圍的 CapStyle 屬性。

CultureAttribute

識別文字範圍的文化特性 (CultureInfo) 屬性,細分到附屬語言層級,例如瑞士法文 (fr-CH) 而非法文 (fr)。

FontNameAttribute

識別文字範圍的 FontName 屬性。

FontSizeAttribute

識別文字範圍的 FontSize 屬性。

FontWeightAttribute

識別文字範圍的 FontWeight 屬性。

ForegroundColorAttribute

指出文字範圍的 ForegroundColor (COLORREF) 屬性。

HorizontalTextAlignmentAttribute

識別文字範圍的 HorizontalTextAlignment 屬性。

IndentationFirstLineAttribute

識別文字範圍的 IndentationFirstLine (TextIndent) 屬性。

IndentationLeadingAttribute

識別文字範圍的 IndentationLeading (TextIndent) 屬性。

IndentationTrailingAttribute

識別文字範圍的 IndentationTrailing (TextIndent) 屬性。

IsHiddenAttribute

識別文字範圍的 IsHidden 屬性。

IsItalicAttribute

識別文字範圍的 IsItalic (FontStyle) 屬性。

IsReadOnlyAttribute

識別文字範圍的 IsReadOnly 屬性。

IsSubscriptAttribute

識別文字範圍的 IsSubscript (FontVariants) 屬性。

IsSuperscriptAttribute

識別文字範圍的 IsSuperscript (FontVariants) 屬性。

MarginBottomAttribute

識別文字範圍的 MarginBottom (PageSettings) 屬性。

MarginLeadingAttribute

識別文字範圍的 MarginLeading (PageSettings) 屬性。

MarginTopAttribute

識別文字範圍的 MarginTop (PageSettings) 屬性。

MarginTrailingAttribute

識別文字範圍的 MarginTrailing (PageSettings) 屬性。

MixedAttributeValue

識別在 Rich Edit 控制項中的一個文字範圍內,指定屬性的值是否會變化。

OutlineStylesAttribute

識別文字範圍的 OutlineStyles (OutlineStyles) 屬性。

OverlineColorAttribute

識別文字範圍的 OverlineColor 屬性。

OverlineStyleAttribute

識別文字範圍的 OverlineStyle (TextDecorationLineStyle) 屬性。

Pattern

識別 TextPattern 模式。

StrikethroughColorAttribute

識別文字範圍的 StrikethroughColor 屬性。

StrikethroughStyleAttribute

識別文字範圍的 StrikethroughStyle (TextDecorationLineStyle) 屬性。

TabsAttribute

識別文字範圍的 Tabs 屬性。

TextChangedEvent

識別修改文字內容時所引發的事件。

TextFlowDirectionsAttribute

識別文字範圍的 TextFlowDirections (FlowDirections) 屬性。

TextSelectionChangedEvent

每當文字選取範圍有修改時,識別引發的事件。

UnderlineColorAttribute

識別文字範圍的 UnderlineColor 屬性。

UnderlineStyleAttribute

識別文字範圍的 UnderlineStyle (TextDecorationLineStyle) 屬性。

適用於

另請參閱