DataGridViewBand.DefaultHeaderCellType プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As DataGridViewBand Dim value As Type value = instance.DefaultHeaderCellType instance.DefaultHeaderCellType = value
/** @property */ public Type get_DefaultHeaderCellType () /** @property */ public void set_DefaultHeaderCellType (Type value)
public function get DefaultHeaderCellType () : Type public function set DefaultHeaderCellType (value : Type)
既定のヘッダー セルとして使用されるオブジェクトのランタイム クラスを表す Type。


このプロパティは、DataGridViewHeaderCell クラスのインスタンス、またはその派生型の 1 つを取得または設定する必要があります。たとえば、DataGridViewRow クラスは、既定のヘッダー セルの型として DataGridViewRowHeaderCell を使用します。同様に、DataGridViewColumn クラスは DataGridViewColumnHeaderCell を使用します。
行または列の DataGridViewHeaderCell から派生したカスタム型を使用する場合は、DefaultHeaderCellType プロパティをカスタム型に設定する必要があります。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- DataGridViewBand.DefaultHeaderCellType プロパティのページへのリンク