Export (0) Print
Expand All
Expand Minimize

SystemParameters.MenuBarHeight Property

Gets a value that indicates the height, in pixels, of a single-line menu bar.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

Public Shared ReadOnly Property MenuBarHeight As Double
<object property="{x:Static SystemParameters.MenuBarHeight}"/>

Property Value

Type: System.Double
The height of the menu bar.

Maps to SM_CYMENU. See GetSystemMetrics.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

© 2015 Microsoft