DataGridTextColumn.FontFamily 屬性

定義

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

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

屬性值

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

備註

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

適用於