DataGridTextColumn.FontWeight 屬性

定義

取得或設定資料行中儲存格內容的字型粗細。

public:
 property System::Windows::FontWeight FontWeight { System::Windows::FontWeight get(); void set(System::Windows::FontWeight value); };
public System.Windows.FontWeight FontWeight { get; set; }
member this.FontWeight : System.Windows.FontWeight with get, set
Public Property FontWeight As FontWeight

屬性值

資料行中儲存格內容的字型粗細。 已註冊的預設值是 MessageFontWeight。 如需哪些因素會影響值的詳細資訊,請參閱 DependencyProperty

備註

只有在範本使用 屬性做為參數時,屬性 FontWeight 才會決定資料行中控制項的字型粗細。

適用於