This documentation is archived and is not being maintained.

SystemInformation.MenuHeight Property

Gets the height of one line of a menu in pixels.

[Visual Basic]
Public Shared ReadOnly Property MenuHeight As Integer
[C#]
public static int MenuHeight {get;}
[C++]
public: __property static int get_MenuHeight();
[JScript]
public static function get MenuHeight() : int;

Property Value

The height of one line of a menu in pixels.

Remarks

Use MenuHeight to determine the height that is currently defined by Windows for a menu bar.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation

Show: