Edit

Share via


Page.FontSize Property

Definition

Gets or sets the font size.

public:
 property double FontSize { double get(); void set(double value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))]
[System.Windows.Localizability(System.Windows.LocalizationCategory.None)]
public double FontSize { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))>]
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None)>]
member this.FontSize : double with get, set
Public Property FontSize As Double

Property Value

The font size for the content of a Page. The default is MessageFontSize.

Attributes

Remarks

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

Dependency Property Information

Identifier field FontSizeProperty
Metadata properties set to true AffectsMeasure, AffectsRender, Inherits

Applies to