SystemParameters.WindowCaptionButtonHeight Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

static member WindowCaptionButtonHeight : float with get

Property Value

Type: System.Double

The height of a caption button.

Maps to SM_CYSIZE. See GetSystemMetrics.

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

UnmanagedCode

to call this method, because it calls an unsafe native method. Associated enumeration:

UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show: