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
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור