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; }
member this.MessageFontFamily : System.Windows.Media.FontFamily
Public Shared ReadOnly Property MessageFontFamily As FontFamily

Property Value

A font family.

Remarks

Obtain the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

XAML Attribute Usage

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

Applies to