ContentPresenter.FontWeight プロパティ

定義

ContentPresenter によって表示されるテキスト コンテンツの最上位レベルのフォントの太さを取得または設定します。

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

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

プロパティ値

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

適用対象