VirtualScreenWidth Property
Collapse the table of content
Expand the table of content

SystemParameters.VirtualScreenWidth Property


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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static double VirtualScreenWidth {

Property Value

Type: System.Double

The width of the virtual screen.

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.

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

Legacy Code Example

Code snippet is not found. Confirm that the code snippet name 'HOWDOI' is correct.

to call this method, because it calls an unsafe native method. Associated enumeration:


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft