通过


DataGridTextColumn.FontWeight 属性

定义

获取或设置列中单元格内容的字体粗细。

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

属性值

列中单元格内容的字体粗细。 已注册的默认值为 MessageFontWeight。 有关可能影响值的内容的信息,请参阅 DependencyProperty

注解

FontWeight 属性仅当模板使用属性作为参数时,才会确定列中控件的字体粗细。

适用于