Control.FontFamily Property

Definition

Gets or sets the font used to display text in the control.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Control.FontFamily.

FontFamily FontFamily();

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

Property Value

FontFamily

The font used to display text in the control.

Applies to