FontFamily FontFamily FontFamily FontFamily Class

Definition

Represents a family of related fonts.

public : class FontFamily
struct winrt::Windows::UI::Xaml::Media::FontFamily
public class FontFamily
Public Class FontFamily
<FontFamily>fontFamilyName[,fallbackFontFamilyName]*</FontFamily>
Attributes

Windows 10 requirements

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

Remarks

Version history

Windows version SDK version Value added
1511 10586 XamlAutoFontFamily

Constructors

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

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

Properties

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