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