次の方法で共有


DataGrid.HeaderFont プロパティ

列ヘッダーに使用するフォントを取得または設定します。

Public Property HeaderFont As Font
[C#]
public Font HeaderFont {get; set;}
[C++]
public: __property Font* get_HeaderFont();public: __property void set_HeaderFont(Font*);
[JScript]
public function get HeaderFont() : Font;public function set HeaderFont(Font);

プロパティ値

ヘッダー テキストを表す Font オブジェクト。

解説

通常、 System.Windows.Forms.DataGrid のデザイナを作成する場合、または System.Windows.Forms.DataGrid を組み込んだ独自のコントロールを作成する場合にだけ、このメソッドを使用します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

DataGrid クラス | DataGrid メンバ | System.Windows.Forms 名前空間