SystemParameters.PrimaryScreenHeight Свойство

Определение

Возвращает значение, указывающее высоту экрана основного монитора основного дисплея в пикселях с учетом DPI.

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

Значение свойства

Высота экрана.

Атрибуты

Комментарии

Сопоставляется с SM_CYSCREEN. См. раздел GetSystemMetrics.

Использование атрибутов XAML

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

Применяется к