Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITemplate Interface

 

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.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public interface class ITemplate

NameDescription
System_CAPS_pubmethodInstantiateIn(Control^)

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft