SystemParameters.MaximumWindowTrackWidth Property

Definition

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

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

Property Value

The maximum window width.

Attributes

Remarks

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.

XAML attribute usage

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

Applies to