DesignerAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DesignerAttribute class.
Overloads
DesignerAttribute(String) |
Initializes a new instance of the DesignerAttribute class using the name of the type that provides design-time services. |
DesignerAttribute(Type) |
Initializes a new instance of the DesignerAttribute class using the type that provides design-time services. |
DesignerAttribute(String, String) |
Initializes a new instance of the DesignerAttribute class using the designer type and the base class for the designer. |
DesignerAttribute(String, Type) |
Initializes a new instance of the DesignerAttribute class, using the name of the designer class and the base class for the designer. |
DesignerAttribute(Type, Type) |
Initializes a new instance of the DesignerAttribute class using the types of the designer and designer base class. |
DesignerAttribute(String)
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
Initializes a new instance of the DesignerAttribute class using the name of the type that provides design-time services.
public:
DesignerAttribute(System::String ^ designerTypeName);
public DesignerAttribute (string designerTypeName);
new System.ComponentModel.DesignerAttribute : string -> System.ComponentModel.DesignerAttribute
Public Sub New (designerTypeName As String)
Parameters
- designerTypeName
- String
The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.
Remarks
The class you use for the design-time services must implement the IDesigner interface.
Applies to
DesignerAttribute(Type)
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
Initializes a new instance of the DesignerAttribute class using the type that provides design-time services.
public:
DesignerAttribute(Type ^ designerType);
public DesignerAttribute (Type designerType);
new System.ComponentModel.DesignerAttribute : Type -> System.ComponentModel.DesignerAttribute
Public Sub New (designerType As Type)
Parameters
- designerType
- Type
A Type that represents the class that provides design-time services for the component this attribute is bound to.
Remarks
The class you use for the design-time services must implement the IDesigner interface.
Applies to
DesignerAttribute(String, String)
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
Initializes a new instance of the DesignerAttribute class using the designer type and the base class for the designer.
public:
DesignerAttribute(System::String ^ designerTypeName, System::String ^ designerBaseTypeName);
public DesignerAttribute (string designerTypeName, string designerBaseTypeName);
new System.ComponentModel.DesignerAttribute : string * string -> System.ComponentModel.DesignerAttribute
Public Sub New (designerTypeName As String, designerBaseTypeName As String)
Parameters
- designerTypeName
- String
The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.
- designerBaseTypeName
- String
The fully qualified name of the base class to associate with the designer class.
Remarks
The class you use for the design-time services must implement the IDesigner interface.
The designerBaseTypeName
parameter allows you to attach more than one type of designer for a given class.
Applies to
DesignerAttribute(String, Type)
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
Initializes a new instance of the DesignerAttribute class, using the name of the designer class and the base class for the designer.
public:
DesignerAttribute(System::String ^ designerTypeName, Type ^ designerBaseType);
public DesignerAttribute (string designerTypeName, Type designerBaseType);
new System.ComponentModel.DesignerAttribute : string * Type -> System.ComponentModel.DesignerAttribute
Public Sub New (designerTypeName As String, designerBaseType As Type)
Parameters
- designerTypeName
- String
The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.
Remarks
The class you use for the design-time services must implement the IDesigner interface.
The designerBaseType
parameter allows you to attach more than one type of designer for a given class.
Applies to
DesignerAttribute(Type, Type)
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
- Source:
- DesignerAttribute.cs
Initializes a new instance of the DesignerAttribute class using the types of the designer and designer base class.
public:
DesignerAttribute(Type ^ designerType, Type ^ designerBaseType);
public DesignerAttribute (Type designerType, Type designerBaseType);
new System.ComponentModel.DesignerAttribute : Type * Type -> System.ComponentModel.DesignerAttribute
Public Sub New (designerType As Type, designerBaseType As Type)
Parameters
- designerType
- Type
A Type that represents the class that provides design-time services for the component this attribute is bound to.
Remarks
The class you use for the design-time services must implement the IDesigner interface.
The designerBaseType
parameter allows you to attach more than one type of designer for a given class.