SystemParameters.MaximumWindowTrackWidth Property

 

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

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

public static double MaximumWindowTrackWidth {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Double

The maximum window width.

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

Maps to SM_CXMAXTRACK. See GetSystemMetrics.

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

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: