ICustomTypeDescriptor.GetEditor Method (Type)

 

Returns an editor of the specified type for this instance of a component.

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

abstract GetEditor : 
        editorBaseType:Type -> Object

Parameters

editorBaseType
Type: System.Type

A Type that represents the editor for this object.

Return Value

Type: System.Object

An Object of the specified type that is the editor for this object, or null if the editor cannot be found.

The type of the editorBaseType parameter is usually UITypeEditor, but you can also use other types (for example, ComponentEditor and InstanceCreationEditor).

.NET Framework
Available since 1.1
Return to top
Show: