次の方法で共有


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

プロパティ値

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

属性

注釈

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

適用対象