SystemParameters.CaptionWidth Property

Definition

Gets the metric that determines the caption width for the nonclient area of a nonminimized window.

public:
 static property double CaptionWidth { double get(); };
public static double CaptionWidth { get; }
static member CaptionWidth : double
Public Shared ReadOnly Property CaptionWidth As Double

Property Value

The caption width.

Remarks

Obtains the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

XAML attribute usage

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

Applies to