Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToolWindowCaptionButtonSize Property
Collapse the table of content
Expand the table of content

SystemInformation.ToolWindowCaptionButtonSize Property

Gets the dimensions, in pixels, of small caption buttons.

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

Property Value

A Size that specifies the dimensions of small caption buttons in pixels.


Small captions are used in floating tool windows. Use ToolWindowCaptionButtonSize to get the dimensions of the buttons placed in the caption of a tool window. You can use this property when adding your own custom buttons to the caption in a tool 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 | Size

© 2015 Microsoft