TemplatedControlDesigner.InTemplateMode Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Gets a value indicating whether the designer document is in template mode.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[ObsoleteAttribute("The recommended alternative is System.Web.UI.Design.ControlDesigner.InTemplateMode. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool InTemplateMode { get; }

Property Value

Type: System.Boolean

true if the designer document is in template mode; otherwise, false.


The TemplatedControlDesigner.InTemplateMode property is obsolete. Use the ControlDesigner.InTemplateMode property for equivalent control designer functionality.

A document is in template mode when a template is currently being viewed or edited in the forms designer.

.NET Framework
Available since 1.1
Return to top