.NET Framework (current version)
Defines the behavior for populating a templated ASP.NET server control with child controls. The child controls represent the inline templates defined on the page.
System.Web (in System.Web.dll)
public interface class ITemplate
When implemented by a class, defines the Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.
This interface is used by custom server controls, but never implemented by them. ASP.NET always implements it.
The following code example demonstrates a simple templated server control that uses the ITemplate interface to create a templated property.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1