GridItemCollection GridItemCollection GridItemCollection GridItemCollection Class

Definition

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
GridItemCollectionGridItemCollectionGridItemCollectionGridItemCollection
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

Empty Empty Empty Empty

Specifies that the GridItemCollection has no entries.

Properties

Count Count Count Count

Gets the number of grid items in the collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the GridItem at the specified index.

Item[String] Item[String] Item[String] Item[String]

Gets the GridItem with the matching label.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumeration of all the grid items in the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

For a description of this member, see CopyTo(Array, Int32).

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

For a description of this member, see SyncRoot.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to