PropertyDescriptor.GetEditor(Type) Method

Definition

Gets an editor of the specified type.

C#
public virtual object? GetEditor(Type editorBaseType);
C#
public virtual object GetEditor(Type editorBaseType);

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