System.Web.UI.Design.TemplatedControlDesigner.ExitTemplateMode Method

Closes the currently active template editing frame after saving any relevant changes.

Syntax

[System.Obsolete("Template editing is supported in ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing, true) in 2.0.")]
public void ExitTemplateMode (bool fSwitchingTemplates, bool fNested, bool fSave)

Parameters

fSwitchingTemplates
true when switching from one template editing frame to another; otherwise false.
fNested
true if this designer is nested (one or more levels) within another control whose designer is also in template editing mode; otherwise false.
fSave
true if templates should be saved on exit; otherwise, false.

Remarks

Note:

The TemplatedControlDesigner.ExitTemplateMode(bool, bool, bool) method is obsolete. Use the TemplatedControlDesigner.TemplateGroups property to manipulate templates within a designer for template-based controls.

Requirements

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