TextBlock.FontWeight プロパティ

定義

TextBlock の最上位レベルのフォントの太さを取得または設定します。

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

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

プロパティ値

要求されたフォントの太さ。 FontWeights プロパティ値のいずれかから取得される FontWeight です。 既定値は Normal です

適用対象