SystemFonts.MessageFontStyle 属性

定义

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

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

属性值

字体样式。

注解

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

XAML 属性用法

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

适用于