SystemParameters.MenuButtonWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.