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

属性值

FontWeight

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

注解

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

适用于