Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SystemFonts.MessageFontWeight Property


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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static FontWeight MessageFontWeight { get; }

Property Value

Type: System.Windows.FontWeight

A font weight.

Obtain the metric from SPI_GETNONCLIENTMETRICS. See SystemParametersInfo.

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft