This documentation is archived and is not being maintained.

GridItemCollection Class

Contains a collection of GridItem objects.

For a list of all members of this type, see GridItemCollection Members.


[Visual Basic]
Public Class GridItemCollection
   Implements ICollection, IEnumerable
public class GridItemCollection : ICollection, IEnumerable
public __gc class GridItemCollection : public ICollection,
public class GridItemCollection implements ICollection, IEnumerable

Thread Safety

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


This class represents a collection of GridItem objects stored in a PropertyGrid.

You can retrieve a specific GridItem by using either an index into the collection or the label of a grid item in the collection that you access through the indexer.


Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

GridItemCollection Members | System.Windows.Forms Namespace