Page.FontSize 屬性

定義

取得或設定字型大小。

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

屬性值

Double

Page 內容的字型大小。 預設為 MessageFontSize

屬性

備註

字型大小必須是正數,而且在 的範圍中 MessageFontSize

相依性屬性資訊

識別碼欄位 FontSizeProperty
設定為 的中繼資料屬性 true AffectsMeasureAffectsRenderInherits

適用於