SystemFonts.MessageFontFamily Property

Definition

Gets the metric that determines the font family for message box text.

public:
 static property System::Windows::Media::FontFamily ^ MessageFontFamily { System::Windows::Media::FontFamily ^ get(); };
public static System.Windows.Media.FontFamily MessageFontFamily { get; }
static member MessageFontFamily : System.Windows.Media.FontFamily
Public Shared ReadOnly Property MessageFontFamily 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.MessageFontFamily}"/>

Applies to