AutomationTextAttributesEnum 列舉

定義

定義常數,識別 Microsoft UI 自動化文字範圍的文字屬性。

public enum class AutomationTextAttributesEnum
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AutomationTextAttributesEnum
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AutomationTextAttributesEnum
Public Enum AutomationTextAttributesEnum
繼承
AutomationTextAttributesEnum
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

AnimationStyleAttribute 40000

識別 AnimationStyle 文字屬性,這個屬性會指定套用至文字的動畫類型。 此屬性指定為 AutomationAnimationStyle 列舉的值。

AnnotationObjectsAttribute 40032

識別 AnnotationObjects 文字屬性。

AnnotationTypesAttribute 40031

識別 AnnotationTypes 文字屬性,它會維護一系列文字的注釋類型識別碼清單。 此屬性指定為 AnnotationType 列舉的值。

BackgroundColorAttribute 40001

識別 BackgroundColor 文字屬性,這個屬性會指定文字的背景色彩。

BulletStyleAttribute 40002

識別 BulletStyle 文字屬性,這個屬性會指定文字範圍中使用的專案符號樣式。 此屬性指定為 AutomationBulletStyle 列舉的值。

CapStyleAttribute 40003

識別 CapStyle 文字屬性,這個屬性會指定文字的大寫樣式。

CaretBidiModeAttribute 40039

識別 CaretBidiMode 文字屬性,指出文字範圍中的文字流程方向。 此屬性指定為 AutomationCaretBidiMode 列舉的值。

CaretPositionAttribute 40038

識別 CaretPosition 文字屬性,指出插入號是在文字範圍中文字行的開頭或結尾。 此屬性指定為 AutomationCaretPosition 列舉的值。

CultureAttribute 40004

識別 Culture 文字屬性,這個屬性會依地區設定識別碼指定文字的地區設定, (LCID) 。

FontNameAttribute 40005

識別 FontName 文字屬性,這個屬性會指定字型的名稱。 範例:「Arial Black」;「Arial Narrow」。 字型名稱字串未當地語系化。

FontSizeAttribute 40006

識別 FontSize 文字屬性,這個屬性會指定字型的點大小。

FontWeightAttribute 40007

識別 FontWeight 文字屬性,這個屬性會指定字型的相對筆劃、粗細或粗體。

ForegroundColorAttribute 40008

識別 ForegroundColor 文字屬性,這個屬性會指定文字的前景色彩。

HorizontalTextAlignmentAttribute 40009

識別 HorizontalTextAlignment 文字屬性,這個屬性會指定文字水準對齊的方式。

IndentationFirstLineAttribute 40010

識別 IndentationFirstLine 文字屬性,這個屬性會指定段落第一行的縮排距離。以點為單位。

IndentationLeadingAttribute 40011

識別 縮排前置 文字屬性,以點為單位指定前置縮排。

IndentationTrailingAttribute 40012

識別 IndentationTrailing 文字屬性,以點為單位指定尾端縮排。

IsActiveAttribute 40036

識別 IsActive 文字屬性,這個屬性工作表示包含文字範圍的控制項是否具有鍵盤焦點 (true) 或未 (false) 。

IsHiddenAttribute 40013

識別 IsHidden 文字屬性,這個屬性會指出文字是否隱藏 (true) 或可見 (false) 。

IsItalicAttribute 40014

識別 IsItalic 文字屬性,這個屬性工作表示文字是否為斜體 (true) (false) 。

IsReadOnlyAttribute 40015

識別 IsReadOnly 文字屬性,這個屬性工作表示文字是否為唯讀 (true) ,或者可以在 false) (修改。

IsSubscriptAttribute 40016

識別 IsSubscript 文字屬性,這個屬性會指出文字是否為下標 (true) (false) 。

IsSuperscriptAttribute 40017

識別 IsSuperscript 文字屬性,這個屬性會指出文字是否為下標 (true) (false) 。

LinkAttribute 40035

識別 Link 文字屬性,其中包含檔內部連結目標的文字範圍的 ITextRangeProvider 介面。

MarginBottomAttribute 40018

識別 MarginBottom 文字屬性,這個屬性會指定套用至與文字範圍相關聯之頁面的下邊界大小,以點為單位。

MarginLeadingAttribute 40019

識別 MarginLeading 文字屬性,這個屬性會指定套用至與文字範圍相關聯之頁面的前置邊界大小,以點為單位。

MarginTopAttribute 40020

識別 MarginTop 文字屬性,這個屬性會指定套用至與文字範圍相關聯之頁面上邊界的大小,以點為單位。

MarginTrailingAttribute 40021

識別 MarginTrailing 文字屬性,這個屬性會指定套用至與文字範圍相關聯之頁面的尾端邊界大小,以點為單位。

OutlineStylesAttribute 40022

識別 OutlineStyles 文字屬性,這個屬性會指定文字的大綱樣式。 此屬性指定為 AutomationOutlineStyles 列舉的值。

OverlineColorAttribute 40023

識別 OverlineColor 文字屬性,這個屬性會指定覆寫文字裝飾的色彩。

OverlineStyleAttribute 40024

識別 OverlineStyle 文字屬性,這個屬性會指定覆寫文字裝飾的樣式。 此屬性指定為 AutomationTextDecorationLineStyle 列舉的值。

SelectionActiveEndAttribute 40037

識別 SelectionActiveEnd 文字屬性,這個屬性工作表示插入號相對於代表目前選取文字的文字範圍的位置。 此屬性會指定為 AutomationActiveEnd 列舉中的值。

StrikethroughColorAttribute 40025

識別 StrikethroughColor 文字屬性,這個屬性會指定刪除線文字裝飾的色彩。

StrikethroughStyleAttribute 40026

識別 StrikethroughStyle 文字屬性,這個屬性會指定刪除線文字裝飾的樣式。 此屬性指定為 AutomationTextDecorationLineStyle 列舉的值。

StyleIdAttribute 40034

識別 StyleId 文字屬性,這個屬性工作表示用於文字範圍的文字樣式。 此屬性指定為 AutomationStyleId 列舉的值。

StyleNameAttribute 40033

識別 StyleName 文字屬性,這個屬性會識別用於文字範圍的文字樣式當地語系化名稱。

TabsAttribute 40027

識別 Tabs 文字屬性,這是指定文字範圍的定位停駐點的陣列。 每個陣列元素會指定從前置邊界的距離,以點為單位。

TextFlowDirectionsAttribute 40028

識別 TextFlowDirections 文字屬性,這個屬性會指定文字流程的方向。 此屬性會指定為 AutomationFlowDirections 列舉值的組合。

UnderlineColorAttribute 40029

識別 UnderlineColor 文字屬性,這個屬性會指定底線文字裝飾的色彩。

UnderlineStyleAttribute 40030

識別 UnderlineStyle 文字屬性,這個屬性會指定底線文字裝飾的樣式。 此屬性指定為 AutomationTextDecorationLineStyle 列舉的值。

備註

如需詳細資訊,請參閱 文字屬性識別碼

適用於

另請參閱