Edit

Share via


SystemFonts.MessageFontStyle Property

Definition

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

public:
 static property System::Windows::FontStyle MessageFontStyle { System::Windows::FontStyle get(); };
public static System.Windows.FontStyle MessageFontStyle { get; }
static member MessageFontStyle : System.Windows.FontStyle
Public Shared ReadOnly Property MessageFontStyle As FontStyle

Property Value

A font style.

Remarks

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

XAML Attribute Usage

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

Applies to