แก้ไข

แชร์ผ่าน


SystemParameters.VirtualScreenHeight Property

Definition

Gets a value that indicates the height, in pixels adjusted for DPI, of the virtual screen.

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

Property Value

The height of the virtual screen.

Attributes

Remarks

The virtual screen is the bounding rectangle of all display monitors. The VirtualScreenTop and VirtualScreenLeft metrics are the coordinates of the upper-left corner of the virtual screen.

Maps to SM_CYVIRTUALSCREEN. See GetSystemMetrics.

XAML attribute usage

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

Applies to