ITemplateEditingService Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

Provides services for editing control templates at design time.

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

[ObsoleteAttribute("Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).")]
public interface ITemplateEditingService


Gets a value that indicates whether the service supports nested template editing.

System_CAPS_pubmethodCreateFrame(TemplatedControlDesigner, String, String[])

Creates a new template editing frame for the specified templated control designer, using the specified name and templates.

System_CAPS_pubmethodCreateFrame(TemplatedControlDesigner, String, String[], Style, Style[])

Creates a new template editing frame for the specified TemplatedControlDesigner, using the specified name, template names, control style, and template styles.


Gets the name of the parent template.


The ITemplateEditingService interface is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

.NET Framework
Available since 1.1
Return to top