Allows for a fallback ControlDesigner
to be used when a specified designer is unavailable.
- Inheritance:
-
object
Type
Description objectProvider
Remarks
This prevents ComponentDesigner
from taking effect when a specified designer is not found.
Constructors
FallbackControlDesignerProvider(TypeDescriptionProvider)
Initializes a new instance of the FallbackControlDesignerProvider
class.
Parameter | Type | Description |
---|---|---|
parent | Type |
The parent Type |
Methods
GetTypeDescriptor(Type, object)
Gets a custom type descriptor for the given type and object.
Parameter | Type | Description |
---|---|---|
objectType | Type | The type of object for which to retrieve the type descriptor. |
instance | object | An instance of the type. |
Returns
- ICustom
Type :Descriptor An ICustom
Type that can provide metadata for the type.Descriptor
Register(Type)
Registers the provider.
Parameter | Type | Description |
---|---|---|
type | Type | The component Type. |
Remarks
This method should only be called once per type.