DataGridViewBand.DefaultHeaderCellType プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewBand.DefaultHeaderCellType プロパティの意味・解説 

DataGridViewBand.DefaultHeaderCellType プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

既定ヘッダー セルランタイム型を取得または設定します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Property DefaultHeaderCellType As
 Type
Dim instance As DataGridViewBand
Dim value As Type

value = instance.DefaultHeaderCellType

instance.DefaultHeaderCellType = value
public Type DefaultHeaderCellType { get; set;
 }
public:
property Type^ DefaultHeaderCellType {
    Type^ get ();
    void set (Type^ 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

例外例外
例外種類条件

ArgumentException

このプロパティ設定時に指定された値は、DataGridViewHeaderCell または派生型を表す Type ではありません。

解説解説

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

行または列の DataGridViewHeaderCell から派生したカスタム型を使用する場合は、DefaultHeaderCellType プロパティカスタム型に設定する必要があります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewBand クラス
DataGridViewBand メンバ
System.Windows.Forms 名前空間
Type
DataGridView クラス
DataGridViewHeaderCell
DataGridViewRowHeaderCell
DataGridViewColumnHeaderCell
DataGridViewRow
DataGridViewColumn


このページでは「.NET Framework クラス ライブラリ リファレンス」からDataGridViewBand.DefaultHeaderCellType プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDataGridViewBand.DefaultHeaderCellType プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDataGridViewBand.DefaultHeaderCellType プロパティを検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

DataGridViewBand.DefaultHeaderCellType プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DataGridViewBand.DefaultHeaderCellType プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS