Export (0) Print
Expand All

Page.FontSize Property

Gets or sets the font size.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

[TypeConverterAttribute(typeof(FontSizeConverter))]
[BindableAttribute(true)]
[LocalizabilityAttribute(LocalizationCategory.None)]
public double FontSize { get; set; }
<object FontSize="double" .../>

Property Value

Type: System.Double
The font size for the content of a Page. The default is SystemFonts.MessageFontSize.

The font size must be a positive number and in the range of the MessageFontSize.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft