Bewerken

Share via


SystemParameters.MaximumWindowTrackHeight Property

Definition

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

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

Property Value

The maximum window height.

Attributes

Remarks

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.

XAML attribute usage

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

Applies to