Share via


SystemFonts.MessageFontWeight 属性

定义

获取规格,它确定消息框文本的字体粗细。

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

属性值

字体粗细。

注解

从SPI_GETNONCLIENTMETRICS获取指标。 有关详细信息,请参阅 SystemParametersInfo

XAML 属性用法

<object property=“{ SystemFonts.MessageFontWeight}”/>

适用于