共用方式為


SystemFonts.MessageFontWeight 屬性

定義

取得度量資訊,此度量資訊會決定訊息方塊文字的字型粗細。

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

屬性值

FontWeight

字型粗細。

備註

從SPI_GETNONCLIENTMETRICS取得計量。 如需詳細資訊,請參閱 SystemParametersInfo

XAML Attribute Usage

<object property="{ SystemFonts.MessageFontWeight}"/>

適用於