CustomTypeDescriptor.GetEditor(Type) Method

Definition

Returns an editor of the specified type that is to be associated with the class represented by this type descriptor.

public:
 virtual System::Object ^ GetEditor(Type ^ editorBaseType);
public virtual object GetEditor (Type editorBaseType);
public virtual object? GetEditor (Type editorBaseType);
abstract member GetEditor : Type -> obj
override this.GetEditor : Type -> obj
Public Overridable Function GetEditor (editorBaseType As Type) As Object

Parameters

editorBaseType
Type

The base type of the editor to retrieve.

Returns

An editor of the given type that is to be associated with the class represented by this type descriptor. The default is null.

Implements

Remarks

If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetEditor method will call the parent's corresponding method.

Applies to

See also