DependencyPropertyDescriptor.GetEditor Method (Type)


Gets an editor of the specified type.

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

public override object GetEditor(
	Type editorBaseType


Type: System.Type

The base type of editor, which is used to differentiate between multiple editors that a property supports.

Return Value

Type: System.Object

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

This method relies on the underlying PropertyDescriptor.

.NET Framework
Available since 3.0
Return to top