Export (0) Print
Expand All

DataGridView.DataGridViewControlCollection Class

Represents a collection of controls contained on a DataGridView.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

[ComVisibleAttribute(false)] 
public class DataGridViewControlCollection : ControlCollection
/** @attribute ComVisibleAttribute(false) */ 
public class DataGridViewControlCollection extends ControlCollection
ComVisibleAttribute(false) 
public class DataGridViewControlCollection extends ControlCollection
Not applicable.

The Controls property of the DataGridView control returns an instance of type Control.ControlCollection which you can cast to an instance of type DataGridView.DataGridViewControlCollection.

The DataGridView.DataGridViewControlCollection includes controls such as the editing control and the scrollbars on the DataGridView.

System.Object
   System.Windows.Forms.Layout.ArrangedElementCollection
     System.Windows.Forms.Control.ControlCollection
      System.Windows.Forms.DataGridView.DataGridViewControlCollection

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft