This documentation is archived and is not being maintained.

SystemInformation.MenuButtonSize Property

Gets the dimensions, in pixels, of menu bar buttons.

[Visual Basic]
Public Shared ReadOnly Property MenuButtonSize As Size
[C#]
public static Size MenuButtonSize {get;}
[C++]
public: __property static Size get_MenuButtonSize();
[JScript]
public static function get MenuButtonSize() : Size;

Property Value

A Size that specifies the dimensions, in pixels, of menu-bar buttons.

Remarks

Use this property to determine the size of a menu button, such as the child window close buttons used in a multiple-document-interface application. The dimensions of a menu button can be similar to the dimensions returned for caption buttons using ToolWindowCaptionButtonSize.

Requirements

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

See Also

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

Show: