Gets an editor with the specified base type for the specified component.
[Visual Basic] Overloads Public Shared Function GetEditor( _ ByVal component As Object, _ ByVal editorBaseType As Type _ ) As Object [C#] public static object GetEditor( object component, Type editorBaseType ); [C++] public: static Object* GetEditor( Object* component, Type* editorBaseType ); [JScript] public static function GetEditor( component : Object, editorBaseType : Type ) : Object;
An instance of the editor that can be type cast to the specified editorBaseType. This returns a null reference (in Visual Basic Nothing) if no editor of the requested type can be found.
You can define multiple editors for a property. This method allows you to select which editor you want to use.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetEditor Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor