DataGridTextColumn.FontSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定資料行中儲存格內容的字型大小。
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
屬性值
資料行中儲存格內容的字型大小。 已註冊的預設值是 MessageFontSize。 如需哪些因素會影響值的詳細資訊,請參閱 DependencyProperty。
- 屬性
備註
只有在 FontSize 範本使用 屬性做為參數時,屬性才會決定資料行中控制項的字型大小。