SystemParameters.MaximizedPrimaryScreenWidth Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

static member MaximizedPrimaryScreenWidth : float with get

Property Value

Type: System.Double

The window width.

Maps to SM_CXMAXIMIZED. See GetSystemMetrics.

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


to call this method, because it calls an unsafe native method. Associated enumeration:


.NET Framework
Available since 3.0
Return to top