Export (0) Print
Expand All

DataGridTextColumn.FontSize Property

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

[DefaultValueAttribute()]
public double FontSize { get; set; }
<sdk:DataGridTextColumn FontSize="double" .../>

Property Value

Type: System.Double
The font size of the content of cells in the column. The default is Double.NaN.

If you do not explicitly set the DataGridTextColumn.FontSize property, the first non-null FontSize property specified in the visual tree is used for display, but the DataGridTextColumn.FontSize property returns Double.NaN.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft