语言

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 属性=“{ SystemFonts.MessageFontWeight}”/>

适用于