Font.IsSystemFont プロパティ

定義

フォントが SystemFonts のメンバーかどうかを示す値を取得します。

public:
 property bool IsSystemFont { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsSystemFont { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsSystemFont : bool
Public ReadOnly Property IsSystemFont As Boolean

プロパティ値

フォントが SystemFonts のメンバーである場合は true。それ以外の場合は false。 既定値は、false です。

属性

注釈

ユーザーがシステム フォントを変更すると、 IsSystemFont フォントが実際にはシステム フォントでない場合でも、 プロパティは を返す true可能性があります。 この状況を回避するには、アプリケーションでシステム フォントを使用している場合は、 または UserPreferenceChanged イベントを処理してユーザー設定の変更を追跡するUserPreferenceChanging必要があります。

適用対象