SystemParameters.PrimaryScreenHeight プロパティ

定義

プライマリ ディスプレイ モニターの画面の高さ (DPI に合わせて調整されたピクセル単位) を示す値を取得します。

public:
 static property double PrimaryScreenHeight { double get(); };
public static double PrimaryScreenHeight { [System.Security.SecurityCritical] get; }
public static double PrimaryScreenHeight { get; }
[<get: System.Security.SecurityCritical>]
static member PrimaryScreenHeight : double
static member PrimaryScreenHeight : double
Public Shared ReadOnly Property PrimaryScreenHeight As Double

プロパティ値

画面の高さ。

属性

注釈

SM_CYSCREENにマップされます。 「GetSystemMetrics」を参照してください。

XAML 属性の使用方法

<object property="{ SystemParameters.PrimaryScreenHeight}"/>

適用対象