Redigeeri

Jagamisviis:


SystemParameters.VirtualScreenWidth Property

Definition

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

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

Property Value

The width 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_CXVIRTUALSCREEN. See GetSystemMetrics.

XAML attribute usage

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

Applies to