TemplateDefinition Constructor (ControlDesigner, String, Object, String)
.NET Framework 2.0
Note: This constructor is new in the .NET Framework version 2.0.
Creates a new instance of the TemplateDefinition class using the provided designer, template name, template, and property name.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
TemplateDefinition Members
System.Web.UI.Design Namespace
TemplatedControlDesigner Class
TemplatedControlDesigner Class
How to: Extend the Appearance and Behavior of Controls in Design Mode
Extending Design-Time Support
How to: Extend the Appearance and Behavior of Controls in Design Mode
Assembly: System.Design (in system.design.dll)
public:
TemplateDefinition (
ControlDesigner^ designer,
String^ name,
Object^ templatedObject,
String^ templatePropertyName
)
public TemplateDefinition ( ControlDesigner designer, String name, Object templatedObject, String templatePropertyName )
public function TemplateDefinition ( designer : ControlDesigner, name : String, templatedObject : Object, templatePropertyName : String )
Parameters
- designer
The parent ControlDesigner object.
- name
The name of the template.
- templatedObject
The object that contains the template.
- templatePropertyName
The property name that represents this template in the Properties list in the design host.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
TemplateDefinition ClassTemplateDefinition Members
System.Web.UI.Design Namespace
TemplatedControlDesigner Class
TemplatedControlDesigner Class
Other Resources
Extending Design-Time SupportHow to: Extend the Appearance and Behavior of Controls in Design Mode
Extending Design-Time Support
How to: Extend the Appearance and Behavior of Controls in Design Mode
Show: