編輯

共用方式為


SystemFonts.MenuFontSize Property

Definition

Gets the metric that determines the font size of menu text.

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

Property Value

A font size.

Remarks

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see SystemParametersInfo.

XAML Attribute Usage

<object property="{ SystemFonts.MenuFontSize}"/>

Applies to