TextBlock.FontStyle Eigenschaft

Definition

Dient zum Abrufen oder Festlegen des Schriftschnitts für den Inhalt in diesem Element.

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

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

Eigenschaftswert

Der angeforderte Schriftschnitt, bei dem es sich um einen FontStyle-Enumerationswert handelt. Der Standardwert ist Normal.

Gilt für: