TextPatternIdentifiers.FontNameAttribute 字段

定义

FontName标识文本范围的属性。

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ FontNameAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute FontNameAttribute;
 staticval mutable FontNameAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly FontNameAttribute As AutomationTextAttribute 

字段值

注解

示例包括“Arial Black”和“Arial Narrow”。

值未本地化。

UI 自动化提供程序使用此标识符。 UI 自动化客户端应用程序应使用 TextPattern 中的等效字段。

此属性的值的类型 String

默认值为 empty string.

适用于

另请参阅