Page.FontSize Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the font size.

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

[<TypeConverterAttribute(typeof(FontSizeConverter))>]
[<BindableAttribute(true)>]
[<LocalizabilityAttribute(LocalizationCategory.None)>]
member FontSize : float with 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
Show: