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

Property Value

A font style.

Remarks

Obtain the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

XAML Attribute Usage

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

Applies to