FontIconSource.FontFamily Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.