TextBlock.FontStyle プロパティ

定義

この要素のコンテンツのフォント スタイルを取得または設定します。

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"/>

プロパティ値

要求されたフォント スタイル 。 FontStyle 列挙値です。 既定値は Normal です。

適用対象