共用方式為


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

適用於