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