MenuButtonWidth Property
Collapse the table of content
Expand the table of content

SystemParameters.MenuButtonWidth Property


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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Shared ReadOnly Property MenuButtonWidth As Double

Property Value

Type: System.Double

The width of a menu bar button.

Maps to SM_CXMENUSIZE. See GetSystemMetrics.

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

Legacy Code Example

Code snippet is not found. Confirm that the code snippet name 'HOWDOI' is correct.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft