FontNameAttribute Field

TextPatternIdentifiers.FontNameAttribute Field


Identifies the FontName attribute of a text range.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly AutomationTextAttribute FontNameAttribute

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

Values are non-localized.

This identifier is used by . applications should use the equivalent field in TextPattern.GTMTGTMT

Values for this attribute are of type String.

The default value is an empty string.

.NET Framework
Available since 3.0
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
© 2015 Microsoft