Share via


TextElement.FontWeight Properti

Definisi

Mendapatkan atau mengatur bobot font tingkat atas untuk memilih dari keluarga font untuk konten dalam elemen ini.

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

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

Nilai Properti

Salah satu nilai properti FontWeights , menentukan bobot font. Defaultnya adalah Normal.

Berlaku untuk