FontWeight Property

DataGridTextColumn.FontWeight Property


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

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

public FontWeight FontWeight { get; set; }

Property Value

Type: System.Windows.FontWeight

The font weight of the contents of cells in the column. The registered default is MessageFontWeight. For information about what can influence the value, see DependencyProperty.

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

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2015 Microsoft