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 adjusted for DPI, 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>]
static member MenuBarHeight : double
	static member 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}"/>