DependencyPropertyDescriptor.GetEditor(Type) Method

Definition

Gets an editor of the specified type.

public:
 override System::Object ^ GetEditor(Type ^ editorBaseType);
public override object GetEditor (Type editorBaseType);
override this.GetEditor : Type -> obj
Public Overrides 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.

Remarks

This method relies on the underlying PropertyDescriptor.

Applies to