SystemParameters.MaximumWindowTrackHeight Property

 

Gets a value that indicates the maximum height, in pixels, of a window that has a caption and sizing borders.

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

static member MaximumWindowTrackHeight : float with get

Property Value

Type: System.Double

The maximum window height.

This metric refers to the entire desktop. The user cannot drag the window frame to a height larger than this dimension.

Maps to SM_CYMAXTRACK. See GetSystemMetrics.

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

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: