ערוך

שתף באמצעות


SystemParameters.MenuBarHeight Property

Definition

Gets a value that indicates the height, in pixels adjusted for DPI, of a single-line menu bar.

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

Property Value

The height of the menu bar.

Attributes

Remarks

Maps to SM_CYMENU. See GetSystemMetrics.

XAML attribute usage

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

Applies to