InstanceCreationEditor InstanceCreationEditor InstanceCreationEditor InstanceCreationEditor Class

Definition

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

public ref class InstanceCreationEditor abstract
public abstract class InstanceCreationEditor
type InstanceCreationEditor = class
Public MustInherit Class InstanceCreationEditor
Inheritance
InstanceCreationEditorInstanceCreationEditorInstanceCreationEditorInstanceCreationEditor

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() InstanceCreationEditor() InstanceCreationEditor() InstanceCreationEditor()

Initializes a new instance of the InstanceCreationEditor class.

Properties

Text Text Text Text

Gets the specified text.

Methods

CreateInstance(ITypeDescriptorContext, Type) CreateInstance(ITypeDescriptorContext, Type) CreateInstance(ITypeDescriptorContext, Type) CreateInstance(ITypeDescriptorContext, Type)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to