Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.02 KB

control_fontsize.md

File metadata and controls

36 lines (21 loc) · 1.02 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Control.FontSize
winrt property

Windows.UI.Xaml.Controls.Control.FontSize

-description

Gets or sets the size of the text in this control.

-xaml-syntax

<control FontSize="double"/>

-property-value

The size of the text in the Control, in pixels. The default is 11.

-remarks

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.

-examples

-see-also

Text controls, Text scaling, Adjust layout and fonts, and support RTL