แก้ไข

แชร์ผ่าน


SystemParameters.MenuHeight Property

Definition

Gets the metric that determines the height of the menu.

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

Property Value

The menu height.

Remarks

Obtain the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

XAML attribute usage

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

Applies to