Export (0) Print
Expand All

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). http://go.microsoft.com/fwlink/?linkid=14202")]
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class TemplateEditingVerb : DesignerVerb, 
	IDisposable

The TemplateEditingVerb type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

  NameDescription
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 the default hash function. (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.)
Top

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

NoteNote

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.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
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 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft