Edit

Share via


SystemParameters.MenuButtonHeight Property

Definition

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

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

Property Value

The height of a menu bar button.

Attributes

Remarks

Maps to SM_CYMENUSIZE. See GetSystemMetrics.

XAML attribute usage

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

Applies to