編輯

共用方式為


SystemFonts.CaptionFontFamily Property

Definition

Gets the metric that determines the font family of the caption of the nonclient area of a nonminimized window.

public:
 static property System::Windows::Media::FontFamily ^ CaptionFontFamily { System::Windows::Media::FontFamily ^ get(); };
public static System.Windows.Media.FontFamily CaptionFontFamily { get; }
static member CaptionFontFamily : System.Windows.Media.FontFamily
Public Shared ReadOnly Property CaptionFontFamily As FontFamily

Property Value

A font family.

Remarks

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

XAML Attribute Usage

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

Applies to