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
public static int MenuHeight {get;}
public: __property static int get_MenuHeight();
public static function get MenuHeight() : int;

Property Value

The height of one line of a menu in pixels.


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


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