DataGridViewSelectedColumnCollection クラスとは? わかりやすく解説

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

DataGridViewSelectedColumnCollection クラス

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

DataGridView で選択されている DataGridViewColumn オブジェクトコレクション表します

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

Public Class DataGridViewSelectedColumnCollection
    Inherits BaseCollection
    Implements IList, ICollection, IEnumerable
Dim instance As DataGridViewSelectedColumnCollection
public class DataGridViewSelectedColumnCollection
 : BaseCollection, IList, ICollection, IEnumerable
public ref class DataGridViewSelectedColumnCollection
 : public BaseCollection, IList, ICollection, IEnumerable
public class DataGridViewSelectedColumnCollection
 extends BaseCollection implements IList, ICollection, 
    IEnumerable
public class DataGridViewSelectedColumnCollection
 extends BaseCollection implements IList, ICollection, 
    IEnumerable
解説解説

コレクション内の列の順序は、選択した順序異な場合あります

DataGridViewSelectedColumnCollection は、列が多数に及ぶ場合効率的に機能しません。通常DataGridView コントロールに、このような問題発生するほど多くの列が含まれることはありませんが、多数の列を処理する場合は、DataGridView.AreAllCellsSelected を使用してグリッド全体選択されているかどうか判断するか、DataGridViewColumnCollection.GetColumnCount を使用して選択された列 (または指定した状態にある列) の数を特定します詳細については、「Windows フォーム DataGridView コントロール拡張するための推奨される手順」を参照してください

継承階層継承階層
System.Object
   System.MarshalByRefObject
     System.Windows.Forms.BaseCollection
      System.Windows.Forms.DataGridViewSelectedColumnCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewSelectedColumnCollection メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス
DataGridView.AreAllCellsSelected
DataGridViewColumnCollection.GetColumnCount
その他の技術情報
Windows フォーム DataGridView コントロール拡張するための推奨される手順



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

辞書ショートカット

すべての辞書の索引

「DataGridViewSelectedColumnCollection クラス」の関連用語

DataGridViewSelectedColumnCollection クラスのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS