www.gibmonks.com

Main Page

  Previous Section Next Section

TemplateEditingServicedisposable

System.Web.UI.Design (system.design.dll)sealed class

This class implements the ITemplateEditingService interface and provides IDE functionality for editing the templates for controls like System.Web.UI.WebControls.DataList and System.Web.UI.WebControls.DataGrid. This class offers a CreateFrame( ) method, which takes a reference to a TemplatedControlDesigner and returns an ITemplateEditingFrame instance for it.

public sealed class TemplateEditingService : ITemplateEditingService, IDisposable {
// Public Constructors
   public TemplateEditingService(System.ComponentModel.Design.IDesignerHost designerHost);
// Public Instance Properties
   public bool SupportsNestedTemplateEditing{get; }              // implements ITemplateEditingService
// Public Instance Methods
   public ITemplateEditingFrame CreateFrame(TemplatedControlDesigner designer, string frameName, 
         string[ ] templateNames); // implements ITemplateEditingService 
   public ITemplateEditingFrame CreateFrame(TemplatedControlDesigner designer, string frameName, 
         string[ ] templateNames, System.Web.UI.WebControls.Style controlStyle, 
         System.Web.UI.WebControls.Style[ ] templateStyles);  // implements ITemplateEditingService 
   public void Dispose( );                           // implements IDisposable
   public string GetContainingTemplateName(System.Web.UI.Control control); // implements ITemplateEditingService
// Protected Instance Methods
   protected override void Finalize( );              // overrides object
}
      Previous Section Next Section