TextElement.FontWeight Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the top-level font weight to select from the font family for the content in this element.
public:
property FontWeight FontWeight { FontWeight get(); void set(FontWeight value); };
FontWeight FontWeight();
void FontWeight(FontWeight value);
C#
public FontWeight FontWeight { get; set; }
var fontWeight = textElement.fontWeight;
textElement.fontWeight = fontWeight;
Public Property FontWeight As FontWeight
XAML
<textElement FontWeight="fontWeightsValue"/>
One of the FontWeights property values, specifying the font weight. The default is Normal.
Toode | Versioonid |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |