แก้ไข

แชร์ผ่าน


SystemParameters.MenuButtonWidth Property

Definition

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

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

Property Value

The width of a menu bar button.

Attributes

Remarks

Maps to SM_CXMENUSIZE. See GetSystemMetrics.

XAML attribute usage

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

Applies to