TextElement.FontWeight Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the top-level font weight to select from the font family for the content in this element.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<textElement FontWeight="fontWeightsValue"/>
XAML Values
Property Value
Type: System.Windows.FontWeightOne of the FontWeights property values, specifying the font weight. The default is Normal.
Dependency property identifier field: FontWeightProperty
This property can select only from fonts that already exist in a font family. It does not programmatically create alternative weights, except when a family contains a regular weight and no bold weight. In this case, Windows Phone simulates a bold weight by increasing the width of strokes using a 2D graphic algorithm.