This documentation is archived and is not being maintained.
TemplateEditingVerb Class
Visual Studio 2010
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.
System::Object
System.ComponentModel.Design::MenuCommand
System.ComponentModel.Design::DesignerVerb
System.Web.UI.Design::TemplateEditingVerb
System.ComponentModel.Design::MenuCommand
System.ComponentModel.Design::DesignerVerb
System.Web.UI.Design::TemplateEditingVerb
Assembly: System.Design (in System.Design.dll)
[ObsoleteAttribute(L"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 ref class TemplateEditingVerb : public DesignerVerb, IDisposable
The TemplateEditingVerb type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TemplateEditingVerb(String, Int32) | Initializes a new instance of the TemplateEditingVerb class with the specified verb text and index. |
![]() | TemplateEditingVerb(String, Int32, TemplatedControlDesigner) | Initializes a new instance of the TemplateEditingVerb class. |
| Name | Description | |
|---|---|---|
![]() | Checked | Gets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.) |
![]() | CommandID | Gets the CommandID associated with this menu command. (Inherited from MenuCommand.) |
![]() | Description | Gets or sets the description of the menu item for the verb. (Inherited from DesignerVerb.) |
![]() | Enabled | Gets a value indicating whether this menu item is available. (Inherited from MenuCommand.) |
![]() | Index | Gets the index or other user data for the verb. |
![]() | OleStatus | Gets the OLE command status code for this menu item. (Inherited from MenuCommand.) |
![]() | Properties | Gets the public properties associated with the MenuCommand. (Inherited from MenuCommand.) |
![]() | Supported | Gets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.) |
![]() | Text | Gets the text description for the verb command on the menu. (Inherited from DesignerVerb.) |
![]() | Visible | Gets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.) |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the TemplateEditingVerb. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the TemplateEditingVerb and optionally releases the managed resources. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Attempts to free resources before the object is reclaimed by garbage collection. (Overrides Object::Finalize().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Invoke() | Invokes the command. (Inherited from MenuCommand.) |
![]() | Invoke(Object) | Invokes the command with the given parameter. (Inherited from MenuCommand.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnCommandChanged | Raises the CommandChanged event. (Inherited from MenuCommand.) |
![]() | ToString | Overrides ToString. (Inherited from DesignerVerb.) |
Note |
|---|
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.0Obsolete (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.
Show:




Note