Επεξεργασία

Κοινή χρήση μέσω


TemplatedControlDesigner.InTemplateMode Property

Definition

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.

Applies to

See also