System.ComponentModel.InstanceCreationEditor Class

Creates an instance of a particular type of property from a drop-down box within the PropertyGrid.

See Also: InstanceCreationEditor


public abstract class InstanceCreationEditor


Usually, the text specified by InstanceCreationEditor.Text is displayed on the drop-down box from the PropertyGrid as a link or button. When clicked, the InstanceCreationEditor.CreateInstance(ITypeDescriptorContext,Type) method is called with the Type of the object to create.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions:,

The members of System.ComponentModel.InstanceCreationEditor are listed below.

See Also: Object

Protected Constructors

Initializes a new instance of the InstanceCreationEditor class.

Public Properties


Gets the specified text.

Public Methods

CreateInstance(ITypeDescriptorContext, Type) : Object

When overridden in a derived class, returns an instance of the specified type.