FontFamily FontFamily FontFamily FontFamily Class


Represents a family of related fonts.

public : class FontFamily
struct winrt::Windows::UI::Xaml::Media::FontFamily
public class FontFamily
Public Class FontFamily

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Version history

Windows version SDK version Value added
1511 10586 XamlAutoFontFamily


FontFamily(String) FontFamily(String) FontFamily(String) FontFamily(String)

Initializes a new instance of the FontFamily class from the specified font family string.


Source Source Source Source

Gets the font family name that is used to construct the FontFamily object.

XamlAutoFontFamily XamlAutoFontFamily XamlAutoFontFamily XamlAutoFontFamily

Gets the default font family based on an app's language settings.

See also