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

一个 Font 对象,指定标题的字体。 默认值为“宋体, Microsoft Sans Serif, 9pt”。

属性

注解

设置此属性 Font 时,请使用新的 对象。 将整个 对象分配给 属性。

适用于