FontSize Property

Page.FontSize Property


Gets or sets the font size.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double FontSize { get; set; }

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
Available since 3.0
Return to top
© 2015 Microsoft