SystemFonts.MessageFontStyle 属性

定义

获取规格,它确定消息框文本的字体样式。Gets the metric that determines the font style for message box text.

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

属性值

FontStyle

字体样式。A font style.

注解

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

XAML 属性用法XAML Attribute Usage

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

适用于