Windows.UI.Xaml.Controls.RichTextBlock.FontSize

June 22, 2022 · View on GitHub

-description

Gets or sets the font size for the text content in this element.

-xaml-syntax

<RichTextBlock FontSize="double" .../>

-property-value

A non-negative value that specifies the font size, measured in pixels. The default is 11.

-remarks

Set the FontSize property to specify the default font size to use for all text in the RichTextBlock. You can override this value for specific text elements in the RichTextBlock by setting the TextElement.FontSize property.

-examples

-see-also

TextElement.FontSize