This documentation is archived and is not being maintained.
TemplatedControlDesigner.EnterTemplateMode Method
.NET Framework 1.1
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
TemplatedControlDesigner Class | TemplatedControlDesigner Members | System.Web.UI.Design Namespace
Show: