System.Windows.Forms.SystemInformation.CaptionButtonSize Property

Gets the standard size, in pixels, of a button in a window's title bar.

Syntax

public static System.Drawing.Size CaptionButtonSize { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SystemInformation.CaptionButtonSize property indicates the standard dimensions of a button in the title bar of a window.

The value of this property can be used to ensure that a button is properly sized to fit within the title bar of a window. Window caption buttons should be sized less than or equal to the standard dimensions for window caption buttons to ensure that they can be displayed in view correctly.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0