ActivityDesignerVerb Class
Creates a new verb to be used with the designer using the associated verb group, text and event handler.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
System.ComponentModel.Design::MenuCommand
System.ComponentModel.Design::DesignerVerb
System.Workflow.ComponentModel.Design::ActivityDesignerVerb
| Name | Description | |
|---|---|---|
![]() | ActivityDesignerVerb(ActivityDesigner^, DesignerVerbGroup, String^, EventHandler^) | Initializes an instance of an ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and an EventHandler. |
![]() | ActivityDesignerVerb(ActivityDesigner^, DesignerVerbGroup, String^, EventHandler^, EventHandler^) | Initializes an instance of a ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and two EventHandler objects, one to handle menu selection events and the other to handle status updates. |
| Name | Description | |
|---|---|---|
![]() | Checked | Gets or sets a value indicating whether this menu item is checked.(Inherited from MenuCommand.) |
![]() | CommandID | Gets a new CommandID for an ActivityDesignerVerb.(Overrides MenuCommand::CommandID.) |
![]() | 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.) |
![]() | Group | Gets the DesignerVerbGroup associated with the ActivityDesignerVerb. |
![]() | OleStatus | Gets an integer that describes the status of the ActivityDesignerVerb.(Overrides MenuCommand::OleStatus.) |
![]() | 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 | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | 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 |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
The ActivityDesignerVerb describes an action to take against a workflow component. ActivityDesignerVerb options are displayed in the menu bar and right-click context menus during design time.
The ActivityDesignerVerb will be grouped with other verbs associated with the same DesignerVerbGroup and are displayed in the corresponding sub-menu at design time.
The event handler passed when creating a new verb will be invoked when this verb is chosen from the menu.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




