DataGrid.HeaderFont 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定用於欄位標題的字型。
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 的控制項時才會使用這種方法。