SystemParameters.MaximizedPrimaryScreenHeight Property

Definition

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

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

Property Value

The window height.

Attributes

Remarks

Maps to SM_CYMAXIMIZED. See GetSystemMetrics.

XAML attribute usage

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

Applies to