Edit

Share via


DataGridTextColumn.FontStyle Property

Definition

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

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

Property Value

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

Remarks

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

Applies to