Creates an instance of the designer associated with the specified component.
[Visual Basic] Public Shared Function CreateDesigner( _ ByVal component As IComponent, _ ByVal designerBaseType As Type _ ) As IDesigner [C#] public static IDesigner CreateDesigner( IComponent component, Type designerBaseType ); [C++] public: static IDesigner* CreateDesigner( IComponent* component, Type* designerBaseType ); [JScript] public static function CreateDesigner( component : IComponent, designerBaseType : Type ) : IDesigner;
An IDesigner that is an instance of the designer for the component, or a null reference (in Visual Basic Nothing) if no designer can be found.
If this method cannot find a valid DesignerAttribute, it searches up the class hierarchy for a designer. If it cannot find a designer in the class hierarchy, it returns a null reference (Nothing).
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor | EventDescriptor | PropertyDescriptor | IComponent | IDesigner