FontIconSource.FontFamily Property


Gets or sets the font used to display the icon glyph.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.FontIconSource.FontFamily (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

FontFamily FontFamily();

void FontFamily(FontFamily value);
public FontFamily FontFamily { get; set; }
var fontFamily = fontIconSource.fontFamily;
fontIconSource.fontFamily = fontFamily;
Public Property FontFamily As FontFamily
<FontIconSource FontFamily="fontFamilyValue"/>

Property Value


The font used to display the icon glyph.

Applies to