DataGridTextColumn.FontFamily Property


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

 property System::Windows::Media::FontFamily ^ FontFamily { System::Windows::Media::FontFamily ^ get(); void set(System::Windows::Media::FontFamily ^ value); };
public System.Windows.Media.FontFamily FontFamily { get; set; }
member this.FontFamily : System.Windows.Media.FontFamily with get, set
Public Property FontFamily As FontFamily

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.


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

Applies to