SystemFonts.MessageFontWeight 属性

定义

获取规格,它确定消息框文本的字体粗细。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

属性值

字体粗细。A font weight.

注解

从 SPI_GETNONCLIENTMETRICS 获取指标。Obtain the metric from SPI_GETNONCLIENTMETRICS. 有关详细信息,请参阅SystemParametersInfoFor more information, see SystemParametersInfo.

XAML 属性用法XAML Attribute Usage

<对象属性= "{MessageFontWeight}"/><object property="{ SystemFonts.MessageFontWeight}"/>

适用于