語言

Title.Font 屬性

定義

取得或設定標題的字體。

public:
 property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Font Font { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Font : System.Drawing.Font with get, set
Public Property Font As Font

屬性值

一個 Font 指定標題字體的物件。 預設為「Microsoft Sans Serif, 8pt」。

屬性

備註

設定這個屬性時請使用新的 Font 物件。 將整個物件指派到該屬性。

適用於