SystemFonts.MessageFontWeight Property

Definition

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

public:
 static property System::Windows::FontWeight MessageFontWeight { System::Windows::FontWeight get(); };
public static System.Windows.FontWeight MessageFontWeight { get; }
member this.MessageFontWeight : System.Windows.FontWeight
Public Shared ReadOnly Property MessageFontWeight As FontWeight

Property Value

FontWeight

A font weight.

Remarks

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

XAML Attribute Usage

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

Applies to