SystemParameters.FullPrimaryScreenWidth 属性

定义

获取主监视器上全屏窗口工作区的宽度(以像素为单位)。

public static double FullPrimaryScreenWidth { [System.Security.SecurityCritical] get; }
public static double FullPrimaryScreenWidth { get; }

属性值

工作区的宽度。

属性

注解

映射到SM_CXFULLSCREEN。 请参阅 GetSystemMetrics

XAML 属性使用方法

< object property=“{ SystemParameters.FullPrimaryScreenWidth}”/>

适用于

产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10