ListBox.Font 屬性

定義

取得或設定控制項顯示文字的字型。

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

屬性值

Font將 套用到控制項顯示的文字上。 預設是該房產的 DefaultFont 價值。

適用於