TemplateEditingVerb Class
Represents a designer verb that creates a template editing frame, and that can be invoked only by a template editor.
Assembly: System.Design (in System.Design.dll)
System.ComponentModel.Design::MenuCommand
System.ComponentModel.Design::DesignerVerb
System.Web.UI.Design::TemplateEditingVerb
[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 ref class TemplateEditingVerb : DesignerVerb, IDisposable
| 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Invoke() | Invokes the command.(Inherited from MenuCommand.) |
![]() | Invoke(Object^) | Invokes the command with the given parameter.(Inherited from MenuCommand.) |
![]() | MemberwiseClone() | |
![]() | OnCommandChanged(EventArgs^) | Raises the CommandChanged event.(Inherited from MenuCommand.) |
![]() | ToString() | Overrides ToString.(Inherited from DesignerVerb.) |
| Name | Description | |
|---|---|---|
![]() | CommandChanged | Occurs when the menu command changes.(Inherited from MenuCommand.) |
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. |
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




