FontIconSource.FontWeight 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 thickness of the icon glyph.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.FontIconSource.FontWeight (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property FontWeight FontWeight { FontWeight get(); void set(FontWeight value); };
FontWeight FontWeight();
void FontWeight(FontWeight value);
public FontWeight FontWeight { get; set; }
var fontWeight = fontIconSource.fontWeight;
fontIconSource.fontWeight = fontWeight;
Public Property FontWeight As FontWeight
<FontIconSource FontWeight="fontWeightsValue"/>
Property Value
A value that specifies the thickness of the icon glyph. The default is Normal.