Control.FontWeight 属性

定义

获取或设置指定字体的粗细。

public:
 property FontWeight FontWeight { FontWeight get(); void set(FontWeight value); };
FontWeight FontWeight();

void FontWeight(FontWeight value);
public FontWeight FontWeight { get; set; }
var fontWeight = control.fontWeight;
control.fontWeight = fontWeight;
Public Property FontWeight As FontWeight
<control FontWeight="fontWeightMemberName"/>

属性值

指定指定字体粗细的值之一。 默认值为 Normal

适用于