SystemParameters.MenuBarHeight 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, of a single-line menu bar.
public:
static property double MenuBarHeight { double get(); };
public static double MenuBarHeight { [System.Security.SecurityCritical] get; }
public static double MenuBarHeight { get; }
[<get: System.Security.SecurityCritical>]
member this.MenuBarHeight : double
member this.MenuBarHeight : double
Public Shared ReadOnly Property MenuBarHeight As Double
Property Value
The height of the menu bar.
- Attributes
Remarks
Maps to SM_CYMENU. See GetSystemMetrics.
XAML Attribute Usage
<object property="{ SystemParameters.MenuBarHeight}"/>