TemplatedControlDesigner.InTemplateMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The recommended alternative is System.Web.UI.Design.ControlDesigner.InTemplateMode. http://go.microsoft.com/fwlink/?linkid=14202
Gets a value indicating whether the designer document is in template mode.
public:
property bool InTemplateMode { bool get(); };
public bool InTemplateMode { get; }
[System.Obsolete("The recommended alternative is System.Web.UI.Design.ControlDesigner.InTemplateMode. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool InTemplateMode { get; }
member this.InTemplateMode : bool
[<System.Obsolete("The recommended alternative is System.Web.UI.Design.ControlDesigner.InTemplateMode. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.InTemplateMode : bool
Public ReadOnly Property InTemplateMode As Boolean
Property Value
true
if the designer document is in template mode; otherwise, false
.
- Attributes
Remarks
Note
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.