語言

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。

欄位

名稱 Description
AnimationStyleAttribute

識別 AnimationStyle 文字範圍的屬性。

BackgroundColorAttribute

識別文字範圍的 BackgroundColor 屬性。

BulletStyleAttribute

識別 BulletStyle 文字範圍的屬性。

CapStyleAttribute

識別 CapStyle 文字範圍的屬性。

CultureAttribute

識別文本範圍的 CultureCultureInfo() 屬性,直到子語言層級;例如,將 French-Switzerland (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

在豐富的編輯控制中,識別某屬性值是否隨文字範圍變化。

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)屬性。

適用於

另請參閱