Прочитај на енглеском Уреди

Делите путем


Page.FontSize Property

Definition

Gets or sets the font size.

C#
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))]
[System.Windows.Localizability(System.Windows.LocalizationCategory.None)]
public double FontSize { get; set; }

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

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

Applies to

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10