This documentation is archived and is not being maintained.

TemplatedControlDesigner.ExitTemplateMode Method

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

[Visual Basic]
Public Sub ExitTemplateMode( _
   ByVal fSwitchingTemplates As Boolean, _
   ByVal fNested As Boolean, _
   ByVal fSave As Boolean _
)
[C#]
public void ExitTemplateMode(
 bool fSwitchingTemplates,
 bool fNested,
 bool fSave
);
[C++]
public: void ExitTemplateMode(
 bool fSwitchingTemplates,
 bool fNested,
 bool fSave
);
[JScript]
public function ExitTemplateMode(
   fSwitchingTemplates : Boolean,
 fNested : Boolean,
 fSave : Boolean
);

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 shold be saved on exit; otherwise, false.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

TemplatedControlDesigner Class | TemplatedControlDesigner Members | System.Web.UI.Design Namespace

Show: