TextElement.FontFamily Property

Definition

Gets or sets the preferred top-level font family for the content of the element.

C#
public FontFamily FontFamily { get; set; }
XAML
<textElement FontFamily="fontFamily" />
-or-
<textElement FontFamily="fontFamilyName[,fallbackFontFamilyName]" />
-or-
<textElement FontFamily="fontURI#fontFamily" />

Property Value

The preferred font family, or a primary preferred font family with one or more fallback font families. See FontFamily for default information.

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6