The methods of the CollectionEditor class are listed below. For a complete list of CollectionEditor class members, see the CollectionEditor Members topic.
EditValue | Overloaded. [To be supplied.] |
Equals (inherited from Object) | Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEditStyle (inherited from UITypeEditor) | Overloaded. [To be supplied.] |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPaintValueSupported (inherited from UITypeEditor) | Overloaded. [To be supplied.] |
GetType (inherited from Object) | Gets the Type of the Object. |
PaintValue (inherited from UITypeEditor) | Overloaded. [To be supplied.] |
ToString (inherited from Object) | Returns a String that represents the current Object. |
CanRemoveInstance | This will be called when the user tries to remove an instance from the collection that is an original member of the collection. It will not be called when removing instances that were added in this editing session since they are not yet part of the collection. |
CreateCollectionForm | Creates a new form to show the current collection. You may inherit from CollectionForm to provide your own form. |
CreateCollectionItemType | Retrieves the data type this collection contains. The default implementation looks inside of the collection for the Item property and returns the returning datatype of the item. Do not call this method directly. Instead, use the CollectionItemType property. Use this method to override the default implementation. |
CreateInstance | Creates a new instance of the given collection item type. |
CreateNewItemTypes | Retrieves the data types this collection editor can create. The default implementation looks inside of the collection for the Item property and returns the returning datatype of the item. Do not call this method directly. Instead, use the NewItemTypes property. Use this method to override the default implementation. |
DestroyInstance | Destroys the given instance of the object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
GetItems | Converts the given collection into an array of objects. This is used by the editing dialog to manipulate the individual collection. |
GetServiceObject | Retrieves the requested service, if it is available. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
SetItems | Sets the given collection to have the given array of items. If setting requires that a new object be created, the new object should be returned. Otherwise, editValue should be returned. |
CollectionEditor Class | System.ComponentModel.Design Namespace