DataGrid.HeaderFont 屬性

定義

取得或設定用於欄位標題的字型。

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

屬性值

Font 代表標頭文字。

備註

通常只有在你要建立 System.Windows.Forms.DataGrid 的設計器,或是自己建立包含 System.Windows.Forms.DataGrid 的控制項時才會使用這種方法。

適用於