Читати англійською Редагувати

Поділитися через


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.

C#
public System.Web.UI.Design.ITemplateEditingFrame ActiveTemplateEditingFrame { get; }
C#
[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; }

Property Value

An ITemplateEditingFrame that is the currently active template editing frame.

Attributes

Remarks

Примітка

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

Applies to

Продукт Версії (Застаріло.)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

See also