This documentation is archived and is not being maintained.

SystemInformation.CaptionButtonSize Property

Gets the dimensions, in pixels, of a caption bar or title bar button.

[Visual Basic]
Public Shared ReadOnly Property CaptionButtonSize As Size
public static Size CaptionButtonSize {get;}
public: __property static Size get_CaptionButtonSize();
public static function get CaptionButtonSize() : Size;

Property Value

A Size that specifies the dimensions of a caption bar button in pixels.


Use CaptionButtonSize to get the dimensions of a button in the caption bar of window, to place additional caption buttons in the caption of a window, and to ensure the button is properly sized.


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 | Size