SystemParameters.VirtualScreenWidth Property

 

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

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

static member VirtualScreenWidth : float with get

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

UnmanagedCode

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

UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show: