Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 909 Bytes

richtextblock_fontsize.md

File metadata and controls

32 lines (21 loc) · 909 Bytes
-api-id -api-type
P:Windows.UI.Xaml.Controls.RichTextBlock.FontSize
winrt property

Windows.UI.Xaml.Controls.RichTextBlock.FontSize

-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