ActivityDesignerVerb Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

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

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

System.Object
  System.ComponentModel.Design.MenuCommand
    System.ComponentModel.Design.DesignerVerb
      System.Workflow.ComponentModel.Design.ActivityDesignerVerb

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerVerb : DesignerVerb

NameDescription
System_CAPS_pubmethodActivityDesignerVerb(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.

System_CAPS_pubmethodActivityDesignerVerb(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.

NameDescription
System_CAPS_pubpropertyChecked

Gets or sets a value indicating whether this menu item is checked.(Inherited from MenuCommand.)

System_CAPS_pubpropertyCommandID

Gets a new CommandID for an ActivityDesignerVerb.(Overrides MenuCommand.CommandID.)

System_CAPS_pubpropertyDescription

Gets or sets the description of the menu item for the verb.(Inherited from DesignerVerb.)

System_CAPS_pubpropertyEnabled

Gets a value indicating whether this menu item is available.(Inherited from MenuCommand.)

System_CAPS_pubpropertyGroup

Gets the DesignerVerbGroup associated with the ActivityDesignerVerb.

System_CAPS_pubpropertyOleStatus

Gets an integer that describes the status of the ActivityDesignerVerb.(Overrides MenuCommand.OleStatus.)

System_CAPS_pubpropertyProperties

Gets the public properties associated with the MenuCommand.(Inherited from MenuCommand.)

System_CAPS_pubpropertySupported

Gets or sets a value indicating whether this menu item is supported.(Inherited from MenuCommand.)

System_CAPS_pubpropertyText

Gets the text description for the verb command on the menu.(Inherited from DesignerVerb.)

System_CAPS_pubpropertyVisible

Gets or sets a value indicating whether this menu item is visible.(Inherited from MenuCommand.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInvoke()

Invokes the command.(Inherited from MenuCommand.)

System_CAPS_pubmethodInvoke(Object)

Invokes the command with the given parameter.(Inherited from MenuCommand.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnCommandChanged(EventArgs)

Raises the CommandChanged event.(Inherited from MenuCommand.)

System_CAPS_pubmethodToString()

Overrides ToString.(Inherited from DesignerVerb.)

NameDescription
System_CAPS_pubeventCommandChanged

Occurs when the menu command changes.(Inherited from MenuCommand.)

System_CAPS_noteNote

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.

.NET Framework
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.

Return to top
Show: