TemplatedControlDesigner.EnterTemplateMode(ITemplateEditingFrame) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Atenção
Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202
Abre um determinado objeto frame template para edição no designer.
public:
void EnterTemplateMode(System::Web::UI::Design::ITemplateEditingFrame ^ newTemplateEditingFrame);
public void EnterTemplateMode(System.Web.UI.Design.ITemplateEditingFrame newTemplateEditingFrame);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public void EnterTemplateMode(System.Web.UI.Design.ITemplateEditingFrame newTemplateEditingFrame);
member this.EnterTemplateMode : System.Web.UI.Design.ITemplateEditingFrame -> unit
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.EnterTemplateMode : System.Web.UI.Design.ITemplateEditingFrame -> unit
Public Sub EnterTemplateMode (newTemplateEditingFrame As ITemplateEditingFrame)
Parâmetros
- newTemplateEditingFrame
- ITemplateEditingFrame
O frame de edição do modelo para abrir no designer.
- Atributos
Observações
Note
O EnterTemplateMode método está obsoleto. Use a TemplateGroups propriedade para manipular templates dentro de um designer para controlos baseados em templates.
Se já estiver em modo template e a editar um frame template diferente, este método chama ExitTemplateMode para guardar todos os seus templates e fechar esse frame.