[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the preferred top-level font family for the content of the element.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<textElement FontFamily="fontFamily" /> -or- <textElement FontFamily="fontFamilyName[,fallbackFontFamilyName]" /> -or- <textElement FontFamily="fontURI#fontFamily" />
Dependency property identifier field: FontFamilyProperty
A font family is a set of typefaces that share the same family name, such as "Times New Roman", but that differ in features. These font family feature differences include font style, such as italic, and font weight, such as bold. For more information, including information on the XAML usage, see FontFamily. Restrictions apply when specifying a font file or a zip file containing font files. See Text and fonts for Windows Phone for details.
As with most types of software, font files are licensed, rather than sold, and licenses that govern the use of fonts vary from vendor to vendor. As a developer it is your responsibility to ensure that you have the required license rights for any font you embed within a document or application, or otherwise redistribute.