DataGridTextColumn.FontFamily Property

Definition

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

public System.Windows.Media.FontFamily FontFamily { get; set; }

Property Value

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

Remarks

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

Applies to

Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9