
694
|
Chapter 37: The System.Web.UI.Design Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ComponentModel.Design.ComponentDesigner(System.Compo-
nentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.
IDesignerFilter)
➝ HtmlControlDesigner ➝ ControlDesigner ➝ TemplatedControlDesigner
Subclasses
System.Web.UI.Design.WebControls.BaseDataListDesigner
Passed To
ITemplateEditingService.CreateFrame( ), TemplateEditingService.CreateFrame( ), Template-
EditingVerb.TemplateEditingVerb( )
TemplateEditingService
System.Web.UI.Design (system.design.dll)
disposable
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 abstract void SetTemplateContent(ITemplateEditingFrame editingFrame, string templateName,
string templateContent);
public override void UpdateDesignTimeHtml(); // overrides ControlDesigner
// Protected Instance Methods
protected abstract ITemplateEditingFrame CreateTemplateEditingFrame(TemplateEditingVerb verb);
protected abstract TemplateEditingVerb[ ...