Share via


TextBlock.FontWeight Propriété

Définition

Obtient ou définit l’épaisseur de police de niveau supérieur pour 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"/>

Valeur de propriété

Poids de police demandé, qui est un FontWeight obtenu à partir de l’une des valeurs de propriété FontWeights . La valeur par défaut est Normal.

S’applique à