GridItemCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a collection of GridItem objects.
public ref class GridItemCollection : System::Collections::ICollection
public class GridItemCollection : System.Collections.ICollection
type GridItemCollection = class
interface ICollection
interface IEnumerable
Public Class GridItemCollection
Implements ICollection
- Inheritance
-
GridItemCollection
- Implements
Remarks
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.
Fields
| Name | Description |
|---|---|
| Empty |
Specifies that the GridItemCollection has no entries. |
Properties
| Name | Description |
|---|---|
| Count |
Gets the number of grid items in the collection. |
| Item[Int32] |
Gets the GridItem at the specified index. |
| Item[String] |
Gets the GridItem with the matching label. |
Methods
| Name | Description |
|---|---|
| GetEnumerator() |
Returns an enumeration of all the grid items in the collection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
For a description of this member, see CopyTo(Array, Int32). |
| ICollection.IsSynchronized |
For a description of this member, see IsSynchronized. |
| ICollection.SyncRoot |
For a description of this member, see SyncRoot. |