SystemParameters.PrimaryScreenHeight Property

 

Gets a value that indicates the screen height, in pixels, of the primary display monitor.

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

public static double PrimaryScreenHeight {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Double

The height of the screen.

Maps to SM_CYSCREEN. See GetSystemMetrics.

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

.NET Framework
Available since 3.0
Return to top
Show: