SystemParameters.VirtualScreenWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for