System.Web.UI.Design.ITemplateEditingService.CreateFrame Method

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

Syntax

public ITemplateEditingFrame CreateFrame (TemplatedControlDesigner designer, string frameName, string[] templateNames)

Parameters

designer
The System.Web.UI.Design.TemplatedControlDesigner that will use the template editing frame.
frameName
The name of the editing frame that will be displayed on the frame. Typically this is the same as the System.ComponentModel.Design.DesignerVerb.Text property used as the menu text for the System.Web.UI.Design.TemplateEditingVerb that is invoked to create the frame.
templateNames
An array of names for the templates that the template editing frame will contain.

Returns

The new System.Web.UI.Design.ITemplateEditingFrame.

Remarks

Note:

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

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0