Edit

Share via


SystemParameters.MenuWidth Property

Definition

Gets the metric that determines the width of the menu.

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

Property Value

The menu width, in pixels.

Remarks

Obtain the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

XAML attribute usage

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

Applies to