TextPatternIdentifiers.FontNameAttribute Field

Definition

Identifies the FontName attribute of a text range.

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 

Field Value

Remarks

Examples include "Arial Black" and "Arial Narrow".

Values are non-localized.

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.

Values for this attribute are of type String.

The default value is an empty string.

Applies to

See also