語言

OwnerDrawPropertyBag.Font 屬性

定義

取得或設定元件顯示的文字字型。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font Font { get; set; }
public System.Drawing.Font? Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Property Font As Font

屬性值

Font這個 to 套用到元件顯示的文字上。 預設值為 null。

適用於