Fonts Class

Provides enumeration support for FontFamily and Typeface objects.


Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public static class Fonts

The Fonts type exposes the following members.

Public propertyStatic memberSupported by Silverlight for Windows PhoneSystemTypefacesGets the collection of Typeface objects from the default system font location.

A font family is a set of fonts that have the same typeface, such as Arial, but that differ in features. These feature differences include style, such as italic, and weight, such as bold.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions