Export (0) Print
Expand All
Expand Minimize

SystemParameters.VirtualScreenWidth Property

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

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

Public Shared ReadOnly Property VirtualScreenWidth As Double
<object property="{x:Static SystemParameters.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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

© 2015 Microsoft