EditableDesignerRegion Class
Assembly: System.Design (in system.design.dll)
Use the EditableDesignerRegion class to help manage templates at design time. A ControlDesigner will use an instance of this class with its GetEditableDesignerRegionContent method to generate HTML markup of the region's content.
This example shows how to create a control with two clickable regions and an EditableDesignerRegion object with two views, or templates. Look at the control in design view, click the View buttons, and for each view drag one of the controls at the bottom into the template. Then look at the HTML markup for the page, and see how the templates are persisted in the page.
Note |
|---|
| Your project must have a reference to the System.Design.dll assembly. |
System.Web.UI.Design.DesignerObject
System.Web.UI.Design.DesignerRegion
System.Web.UI.Design.EditableDesignerRegion
System.Web.UI.Design.TemplatedEditableDesignerRegion
System.Web.UI.Design.WebControls.WizardStepEditableRegion
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note