Udostępnij przez


SystemParameters.PrimaryScreenHeight Właściwość

Definicja

Pobiera wartość wskazującą wysokość ekranu w pikselach dostosowanych do dpi podstawowego monitora wyświetlania.

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

Wartość właściwości

Wysokość ekranu.

Atrybuty

Uwagi

Mapuje SM_CYSCREEN. Zobacz GetSystemMetrics.

Użycie atrybutu XAML

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

Dotyczy