Edit

Share via


SystemParameters.MaximizedPrimaryScreenWidth Property

Definition

Gets a value that indicates the width, in pixels adjusted for DPI, of a maximized top-level window on the primary display monitor.

public:
 static property double MaximizedPrimaryScreenWidth { double get(); };
public static double MaximizedPrimaryScreenWidth { [System.Security.SecurityCritical] get; }
public static double MaximizedPrimaryScreenWidth { get; }
[<get: System.Security.SecurityCritical>]
static member MaximizedPrimaryScreenWidth : double
static member MaximizedPrimaryScreenWidth : double
Public Shared ReadOnly Property MaximizedPrimaryScreenWidth As Double

Property Value

The window width.

Attributes

Remarks

Maps to SM_CXMAXIMIZED. See GetSystemMetrics.

XAML attribute usage

<object property="{ SystemParameters.MaximizedPrimaryScreenWidth}"/>

Applies to