FontIcon.FontStyle Property

Definition

Gets or sets the font style for the icon glyph.

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

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

void FontStyle(FontStyle value);
public FontStyle FontStyle { get; set; }
var fontStyle = fontIcon.fontStyle;
fontIcon.fontStyle = fontStyle;
Public Property FontStyle As FontStyle
<FontIcon FontStyle="fontStyleMemberName"/>

Property Value

FontStyle

A named constant of the enumeration that specifies the style in which the icon glyph is rendered. The default is Normal.

Applies to