Breyta

Deila með


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

Empty

Specifies that the GridItemCollection has no entries.

Properties

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

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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.

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to