DataGridTextColumn.FontSize Property

Definition

Gets or sets the font size for the content of cells in the column.

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

Property Value

The font size of the content of cells in the column. The registered default is MessageFontSize. For information about what can influence the value, see DependencyProperty.

Attributes

Remarks

The FontSize property determines the font size for controls in the column only when the template uses the property as a parameter.

Applies to