Edit

Share via


ActivityDesignerVerb Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Creates a new verb to be used with the designer using the associated verb group, text and event handler.

public ref class ActivityDesignerVerb : System::ComponentModel::Design::DesignerVerb
public class ActivityDesignerVerb : System.ComponentModel.Design.DesignerVerb
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerVerb : System.ComponentModel.Design.DesignerVerb
type ActivityDesignerVerb = class
    inherit DesignerVerb
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerVerb = class
    inherit DesignerVerb
Public Class ActivityDesignerVerb
Inherits DesignerVerb
Inheritance
ActivityDesignerVerb
Attributes

Remarks

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.

Constructors

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.

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.

Properties

Checked

Gets or sets a value indicating whether this menu item is checked.

(Inherited from MenuCommand)
CommandID

Gets a new CommandID for an ActivityDesignerVerb.

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.

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)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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(EventArgs)

Raises the CommandChanged event.

(Inherited from MenuCommand)
ToString()

Overrides ToString().

(Inherited from DesignerVerb)

Events

CommandChanged

Occurs when the menu command changes.

(Inherited from MenuCommand)

Applies to