Share via


SystemParameters.PrimaryScreenHeight Vlastnost

Definice

Získá hodnotu, která označuje výšku obrazovky v pixelech upravenou pro DPI primárního monitoru.

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

Hodnota vlastnosti

Výška obrazovky.

Atributy

Poznámky

Mapuje SM_CYSCREEN. Viz GetSystemMetrics.

Použití atributu XAML

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

Platí pro