Share via


FontIconSource.FontStyle Eigenschaft

Definition

Ruft den Schriftstil für die Symbol-Glyphe ab oder legt diese fest.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.FontIconSource.FontStyle (informationen zu WinUI im Windows App SDK finden Sie im 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"/>

Eigenschaftswert

Eine benannte Konstante der -Enumeration, die die Formatvorlage angibt, in der die Symbol-Glyphe gerendert wird. Der Standardwert ist Normal.

Gilt für: