SystemParameters.MaximizedPrimaryScreenHeight Property

 

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

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

public static double MaximizedPrimaryScreenHeight {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Double

The window height.

Maps to SM_CYMAXIMIZED. See GetSystemMetrics.

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

UnmanagedCode

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

UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show: