WindowsFormsHost.FontStyle プロパティ

定義

ホストされるコントロールのフォント スタイルを取得または設定します。

public:
 property System::Windows::FontStyle FontStyle { System::Windows::FontStyle get(); void set(System::Windows::FontStyle value); };
public System.Windows.FontStyle FontStyle { get; set; }
member this.FontStyle : System.Windows.FontStyle with get, set
Public Property FontStyle As FontStyle

プロパティ値

ホストされるコントロールで使用されるフォント スタイル。

注釈

この依存関係プロパティは、 フィールドによって FontStyleProperty 識別されます。 既定では、このプロパティは、ホストされているコントロールの プロパティを Control.Font 更新するためにマップされます。 詳細については、「Windows フォームと WPF のプロパティ マッピング」を参照してください。

XAML 属性の使用方法

<object FontStyle="fontStyle"/>

XAML 値

Fontstyle 「XAML 属性の構文」を参照してください FontStyle

依存プロパティ情報

識別子フィールド FontStyleProperty
に設定されたメタデータ プロパティ true AffectsMeasure, AffectsRender, Inherits

適用対象

こちらもご覧ください