Export (0) Print
Expand All
Expand Minimize

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
[C#]
public static int CaptionHeight {get;}
[C++]
public: __property static int get_CaptionHeight();
[JScript]
public static function get CaptionHeight() : int;

Property Value

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

Remarks

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.

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

Show:
© 2014 Microsoft