PropertyDescriptor.GetEditor(Type) Method

Definition

Gets an editor of the specified type.

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 editor, which is used to differentiate between multiple editors that a property supports.

Returns

An instance of the requested editor type, or null if an editor cannot be found.

Applies to