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 属性才确定列中控件的字号。

适用于