Lire en anglais Modifier

Partager via


GridItemCollection Class

Definition

Contains a collection of GridItem objects.

public class GridItemCollection : System.Collections.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

Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9