SystemParameters.MenuButtonHeight 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 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
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.