SystemParameters.VirtualScreenWidth Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

Public Shared ReadOnly Property VirtualScreenWidth As Double

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


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


.NET Framework
Available since 3.0
Return to top