Page.FontSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它負責取得或設定字型大小。
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
屬性值
內容的 Page字型大小。 預設值為 MessageFontSize。
- 屬性
備註
字型大小必須是正數,且範圍在 MessageFontSize範圍內。
相依財產資訊
| Item | 價值觀 |
|---|---|
| 識別碼欄位 | FontSizeProperty |
元資料屬性設為 true |
AffectsMeasure、AffectsRender、Inherits |