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 } 」/>

適用於