InstanceCreationEditor
Class
Definition
Creates an instance of a particular type of property from a drop-down box within the PropertyGrid.
public abstract class InstanceCreationEditor
- Inheritance
-
InstanceCreationEditor
Inherited Members
System.Object
Remarks
Usually, the text specified by Text is displayed on the drop-down box from the PropertyGrid as a link or button. When clicked, the CreateInstance method is called with the Type of the object to create.
Constructors
| InstanceCreationEditor() |
Initializes a new instance of the InstanceCreationEditor class. |
Properties
| Text |
Gets the specified text. |
Methods
| CreateInstance(ITypeDescriptorContext, Type) |
When overridden in a derived class, returns an instance of the specified type. |