This documentation is archived and is not being maintained.

TemplateEditingVerb Class

Note: This API is now obsolete.

Represents a designer verb that creates a template editing frame, and that can be invoked only by a template editor.

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

[ObsoleteAttribute("Use of this type 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).")]
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class TemplateEditingVerb : DesignerVerb, 

The TemplateEditingVerb type exposes the following members.

Public methodTemplateEditingVerb(String, Int32)Initializes a new instance of the TemplateEditingVerb class with the specified verb text and index.
Public methodTemplateEditingVerb(String, Int32, TemplatedControlDesigner)Initializes a new instance of the TemplateEditingVerb class.

Public propertyCheckedGets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.)
Public propertyCommandIDGets the CommandID associated with this menu command. (Inherited from MenuCommand.)
Public propertyDescriptionGets or sets the description of the menu item for the verb. (Inherited from DesignerVerb.)
Public propertyEnabledGets a value indicating whether this menu item is available. (Inherited from MenuCommand.)
Public propertyIndexGets the index or other user data for the verb.
Public propertyOleStatusGets the OLE command status code for this menu item. (Inherited from MenuCommand.)
Public propertyPropertiesGets the public properties associated with the MenuCommand. (Inherited from MenuCommand.)
Public propertySupportedGets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.)
Public propertyTextGets the text description for the verb command on the menu. (Inherited from DesignerVerb.)
Public propertyVisibleGets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.)

Public methodDispose()Releases all resources used by the TemplateEditingVerb.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the TemplateEditingVerb and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAttempts to free resources before the object is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvoke()Invokes the command. (Inherited from MenuCommand.)
Public methodInvoke(Object)Invokes the command with the given parameter. (Inherited from MenuCommand.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnCommandChangedRaises the CommandChanged event. (Inherited from MenuCommand.)
Public methodToStringOverrides ToString. (Inherited from DesignerVerb.)

Public eventCommandChangedOccurs when the menu command changes. (Inherited from MenuCommand.)


The TemplateEditingVerb class is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

.NET Framework

Supported in: 1.1, 1.0
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.