Share via


DataGridTextColumn.FontStyle 屬性

定義

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

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

屬性值

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

備註

只有當 FontStyle 範本使用 屬性做為參數時,屬性才會決定資料行中控制項的字型樣式。

適用於