共用方式為


DataGridTextColumn.FontSize 屬性

定義

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

public:
 property double FontSize { double get(); void set(double value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))]
[System.Windows.Localizability(System.Windows.LocalizationCategory.None)]
public double FontSize { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))>]
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None)>]
member this.FontSize : double with get, set
Public Property FontSize As Double

屬性值

Double

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

屬性

備註

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

適用於