DataGridView.DataGridViewControlCollectionとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridView.DataGridViewControlCollectionの意味・解説 

DataGridView.DataGridViewControlCollection クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

DataGridView に含まれるコントロールコレクション表します

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

<ComVisibleAttribute(False)> _
Public Class DataGridViewControlCollection
    Inherits ControlCollection
Dim instance As DataGridViewControlCollection
[ComVisibleAttribute(false)] 
public class DataGridViewControlCollection
 : ControlCollection
[ComVisibleAttribute(false)] 
public ref class DataGridViewControlCollection
 : public ControlCollection
/** @attribute ComVisibleAttribute(false) */ 
public class DataGridViewControlCollection
 extends ControlCollection
ComVisibleAttribute(false) 
public class DataGridViewControlCollection
 extends ControlCollection
解説解説

DataGridView コントロールControls プロパティは、Control.ControlCollection 型のインスタンス返します。このインスタンスは、DataGridView.DataGridViewControlCollection 型のインスタンスキャストできます

DataGridView.DataGridViewControlCollection には、編集コントロールスクロール バーなど、DataGridView 上のコントロール含まれます。

継承階層継承階層
System.Object
   System.Windows.Forms.Layout.ArrangedElementCollection
     System.Windows.Forms.Control.ControlCollection
      System.Windows.Forms.DataGridView.DataGridViewControlCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridView.DataGridViewControlCollection メンバ
System.Windows.Forms 名前空間
Control.Controls プロパティ
DataGridView クラス
Control.ControlCollection クラス

DataGridView.DataGridViewControlCollection コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

DataGridView.DataGridViewControlCollection クラス新しインスタンス初期化します。

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

Public Sub New ( _
    owner As DataGridView _
)
Dim owner As DataGridView

Dim instance As New DataGridViewControlCollection(owner)
public DataGridViewControlCollection (
    DataGridView owner
)
public:
DataGridViewControlCollection (
    DataGridView^ owner
)
public DataGridViewControlCollection (
    DataGridView owner
)
public function DataGridViewControlCollection
 (
    owner : DataGridView
)

パラメータ

owner

DataGridView.DataGridViewControlCollection を所有している DataGridView。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridView.DataGridViewControlCollection クラス
DataGridView.DataGridViewControlCollection メンバ
System.Windows.Forms 名前空間
Control.Controls プロパティ
DataGridView クラス

DataGridView.DataGridViewControlCollection プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Count  コレクション内の要素の数を取得します。 ( ArrangedElementCollection から継承されます。)
パブリック プロパティ IsReadOnly  コレクション読み取り専用かどうかを示す値を取得します。 ( ArrangedElementCollection から継承されます。)
パブリック プロパティ Item  オーバーロードされますコレクション内の Control示します。 ( Control.ControlCollection から継承されます。)
パブリック プロパティ Owner  この Control.ControlCollection を所有しているコントロール取得します。 ( Control.ControlCollection から継承されます。)
参照参照

関連項目

DataGridView.DataGridViewControlCollection クラス
System.Windows.Forms 名前空間
Control.Controls プロパティ
DataGridView クラス
Control.ControlCollection クラス

DataGridView.DataGridViewControlCollection メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Add  指定したコントロールコントロール コレクション追加します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド AddRange  コレクションコントロール オブジェクト配列追加します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド Clear オーバーライドされます。 DataGridView からすべてのコントロール削除します
パブリック メソッド Contains  指定したコントロールコレクションメンバかどうか確認します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド ContainsKey  指定したキーを持つ項目が Control.ControlCollection に含まれているかどうか確認します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド CopyTo オーバーロードされます。 DataGridView.DataGridViewControlCollection の内容配列コピーします
パブリック メソッド Equals  オーバーロードされます2 つの ArrangedElementCollection インスタンス等しかどうか判断します。 ( ArrangedElementCollection から継承されます。)
パブリック メソッド Find  コントロールName プロパティ基づいてコントロール検索し一致するすべてのコントロール配列構築します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド GetChildIndex  オーバーロードされますコントロール コレクション内のコントロールインデックス取得します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド GetEnumerator  Control.ControlCollection反復処理使用する列挙オブジェクトへの参照取得します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド GetHashCode  このインスタンスハッシュ コード返します。 ( ArrangedElementCollection から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 ( Object から継承されます。)
パブリック メソッド IndexOf  コントロール コレクション内の指定したコントロールインデックス取得します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド IndexOfKey  指定した項目がこのコレクション内で最初に見つかった位置インデックス取得します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド Insert DataGridView.DataGridViewControlCollection 内の指定したインデックスに、指定した Control挿入します
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 ( Object から継承されます。)
パブリック メソッド Remove オーバーライドされます指定したコントロールDataGridView.DataGridViewControlCollection から削除します
パブリック メソッド RemoveAt  指定したインデックス位置にあるコントロール コレクションからコントロール削除します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド RemoveByKey  指定したキーを持つ子コントロール削除します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド SetChildIndex  コレクション内の指定したコントロールインデックス指定したインデックス値に設定します。 ( Control.ControlCollection から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridView.DataGridViewControlCollection クラス
System.Windows.Forms 名前空間
Control.Controls プロパティ
DataGridView クラス
Control.ControlCollection クラス

DataGridView.DataGridViewControlCollection メンバ

DataGridView に含まれるコントロールコレクション表します

DataGridView.DataGridViewControlCollection データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド DataGridView.DataGridViewControlCollection DataGridView.DataGridViewControlCollection クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Count  コレクション内の要素の数を取得します。(ArrangedElementCollection から継承されます。)
パブリック プロパティ IsReadOnly  コレクション読み取り専用かどうかを示す値を取得します。(ArrangedElementCollection から継承されます。)
パブリック プロパティ Item  オーバーロードされますコレクション内の Control示します。(Control.ControlCollection から継承されます。)
パブリック プロパティ Owner  この Control.ControlCollection所有しているコントロール取得します。(Control.ControlCollection から継承されます。)
パブリック メソッドパブリック メソッド
( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Add  指定したコントロールコントロール コレクション追加します。 (Control.ControlCollection から継承されます。)
パブリック メソッド AddRange  コレクションコントロール オブジェクト配列追加します。 (Control.ControlCollection から継承されます。)
パブリック メソッド Clear オーバーライドされますDataGridView からすべてのコントロール削除します
パブリック メソッド Contains  指定したコントロールコレクションメンバかどうか確認します。 (Control.ControlCollection から継承されます。)
パブリック メソッド ContainsKey  指定したキーを持つ項目が Control.ControlCollection に含まれているかどうか確認します。 (Control.ControlCollection から継承されます。)
パブリック メソッド CopyTo オーバーロードされますDataGridView.DataGridViewControlCollection内容配列コピーします
パブリック メソッド Equals  オーバーロードされます2 つの ArrangedElementCollection インスタンス等しかどうか判断します。 (ArrangedElementCollection から継承されます。)
パブリック メソッド Find  コントロールName プロパティ基づいてコントロール検索し一致するすべてのコントロール配列構築します。 (Control.ControlCollection から継承されます。)
パブリック メソッド GetChildIndex  オーバーロードされますコントロール コレクション内のコントロールインデックス取得します。 (Control.ControlCollection から継承されます。)
パブリック メソッド GetEnumerator  Control.ControlCollection反復処理使用する列挙オブジェクトへの参照取得します。 (Control.ControlCollection から継承されます。)
パブリック メソッド GetHashCode  このインスタンスハッシュ コード返します。 (ArrangedElementCollection から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 (Object から継承されます。)
パブリック メソッド IndexOf  コントロール コレクション内の指定したコントロールインデックス取得します。 (Control.ControlCollection から継承されます。)
パブリック メソッド IndexOfKey  指定した項目がこのコレクション内で最初に見つかった位置インデックス取得します。 (Control.ControlCollection から継承されます。)
パブリック メソッド Insert DataGridView.DataGridViewControlCollection 内の指定したインデックスに、指定した Control挿入します
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 (Object から継承されます。)
パブリック メソッド Remove オーバーライドされます指定したコントロールDataGridView.DataGridViewControlCollection から削除します
パブリック メソッド RemoveAt  指定したインデックス位置にあるコントロール コレクションからコントロール削除します。 (Control.ControlCollection から継承されます。)
パブリック メソッド RemoveByKey  指定したキーを持つ子コントロール削除します。 (Control.ControlCollection から継承されます。)
パブリック メソッド SetChildIndex  コレクション内の指定したコントロールインデックス指定したインデックス値に設定します。 (Control.ControlCollection から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridView.DataGridViewControlCollection クラス
System.Windows.Forms 名前空間
Control.Controls プロパティ
DataGridView クラス
Control.ControlCollection クラス



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

辞書ショートカット

すべての辞書の索引

「DataGridView.DataGridViewControlCollection」の関連用語

DataGridView.DataGridViewControlCollectionのお隣キーワード
検索ランキング

   

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



DataGridView.DataGridViewControlCollectionのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS