SystemParameters.MenuBarHeight Свойство

Определение

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

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

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

Высота строки меню.

Атрибуты

Комментарии

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

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

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

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