This documentation is archived and is not being maintained.

TemplatedControlDesigner.EnterTemplateMode Method

Opens a template frame object for editing in the designer.

[Visual Basic]
Public Sub EnterTemplateMode( _
   ByVal newTemplateEditingFrame As ITemplateEditingFrame _
)
[C#]
public void EnterTemplateMode(
 ITemplateEditingFrame newTemplateEditingFrame
);
[C++]
public: void EnterTemplateMode(
 ITemplateEditingFrame* newTemplateEditingFrame
);
[JScript]
public function EnterTemplateMode(
   newTemplateEditingFrame : ITemplateEditingFrame
);

Parameters

newTemplateEditingFrame
The template editing frame object to open in the designer.

Remarks

If already in template mode and editing a different template frame, this method calls ExitTemplateMode to save all its templates and close that frame.

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: