Redigera

Dela via


TemplateEditingService(IDesignerHost) Constructor

Definition

Initializes a new instance of the TemplateEditingService class with the specified designer host.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 TemplateEditingService(System::ComponentModel::Design::IDesignerHost ^ designerHost);
public TemplateEditingService (System.ComponentModel.Design.IDesignerHost designerHost);
new System.Web.UI.Design.TemplateEditingService : System.ComponentModel.Design.IDesignerHost -> System.Web.UI.Design.TemplateEditingService
Public Sub New (designerHost As IDesignerHost)

Parameters

designerHost
IDesignerHost

An IDesignerHost implementation, used to access components at design time.

Remarks

Note

The TemplateEditingService class is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion object for each TemplateDefinition in each TemplateGroup that is defined for a control designer.

Applies to