-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.RichTextBlock.FontWeight |
winrt property |
Gets or sets the top-level font weight for the RichTextBlock.
<RichTextBlock FontWeight="fontWeightsMemberName"/>
- fontWeightsMemberName
- fontWeightsMemberNameA FontWeights member name, such as Light or Normal.
Set the FontWeight property to specify the default font stretch to use for all text in the RichTextBlock. You can override this value for specific text elements in the RichTextBlock by setting the TextElement.FontWeight property.