This documentation is archived and is not being maintained.

SystemInformation.CaptionHeight Property

Gets the height, in pixels, of the normal caption area of a window.

[Visual Basic]
Public Shared ReadOnly Property CaptionHeight As Integer
public static int CaptionHeight {get;}
public: __property static int get_CaptionHeight();
public static function get CaptionHeight() : int;

Property Value

The height of the normal caption area of a window in pixels.


Use CaptionHeight to determine the size of the standard window caption. You can also perform special display operations or add a caption button to the caption of a window.


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