FontIcon.FontWeight Property

Definition

Gets or sets the thickness of the icon glyph.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.FontIcon.FontWeight.

public:
 property FontWeight FontWeight { FontWeight get(); void set(FontWeight value); };
FontWeight FontWeight();

void FontWeight(FontWeight value);
public FontWeight FontWeight { get; set; }
var fontWeight = fontIcon.fontWeight;
fontIcon.fontWeight = fontWeight;
Public Property FontWeight As FontWeight
<FontIcon FontWeight="fontWeightsValue"/>

Property Value

FontWeight

A value that specifies the thickness of the icon glyph. The default is Normal.

Applies to