Control.FontStyle Property
Definition
Gets or sets the style in which the text is rendered.
Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Control.FontStyle.
public:
property FontStyle FontStyle { FontStyle get(); void set(FontStyle value); };
FontStyle FontStyle();
void FontStyle(FontStyle value);
public FontStyle FontStyle { get; set; }
var fontStyle = control.fontStyle;
control.fontStyle = fontStyle;
Public Property FontStyle As FontStyle
<control FontStyle="fontStyleMemberName" />
Property Value
One of the values that specifies the style in which the text is rendered. The default is Normal.