Share via


ContentPresenter.FontStyle Property

Definition

Gets or sets the font style for the presented content.

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

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

Property Value

The requested font style, which is a FontStyle constant name. The default is Normal.

Applies to