Επεξεργασία

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


TemplatedControlDesigner.ActiveTemplateEditingFrame Property

Definition

Caution

Use of this property 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

Gets the active template editing frame.

public:
 property System::Web::UI::Design::ITemplateEditingFrame ^ ActiveTemplateEditingFrame { System::Web::UI::Design::ITemplateEditingFrame ^ get(); };
public System.Web.UI.Design.ITemplateEditingFrame ActiveTemplateEditingFrame { get; }
[System.Obsolete("Use of this property 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 System.Web.UI.Design.ITemplateEditingFrame ActiveTemplateEditingFrame { get; }
member this.ActiveTemplateEditingFrame : System.Web.UI.Design.ITemplateEditingFrame
[<System.Obsolete("Use of this property 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.ActiveTemplateEditingFrame : System.Web.UI.Design.ITemplateEditingFrame
Public ReadOnly Property ActiveTemplateEditingFrame As ITemplateEditingFrame

Property Value

An ITemplateEditingFrame that is the currently active template editing frame.

Attributes

Remarks

Note

The ActiveTemplateEditingFrame property is obsolete. Use the TemplateGroups property to expose or enumerate templates within a designer for template-based controls.

Applies to

See also