-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Control.FontSize |
winrt property |
Gets or sets the size of the text in this control.
<control FontSize="double"/>
The size of the text in the Control, in pixels. The default is 11.
The unit measure for FontSize is pixels, measuring the line height of the characters in the font. The apparent size of text in the UI can vary based on the current scaling. If you want to use different FontSize values for different scalings, you can do this using the Resource Management System.
Text controls, Text scaling, Adjust layout and fonts, and support RTL