SystemParameters.WindowCaptionButtonHeight Property

Definition

Gets a value that indicates the height, in pixels adjusted for DPI, of a button in the title bar of a window.

public:
 static property double WindowCaptionButtonHeight { double get(); };
public static double WindowCaptionButtonHeight { [System.Security.SecurityCritical] get; }
public static double WindowCaptionButtonHeight { get; }
[<get: System.Security.SecurityCritical>]
static member WindowCaptionButtonHeight : double
static member WindowCaptionButtonHeight : double
Public Shared ReadOnly Property WindowCaptionButtonHeight As Double

Property Value

The height of a caption button.

Attributes

Remarks

Maps to SM_CYSIZE. See GetSystemMetrics.

XAML attribute usage

<object property="{ SystemParameters.WindowCaptionButtonHeight}"/>

Applies to