ActivityDesignerVerb Class

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

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

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

public class ActivityDesignerVerb : DesignerVerb

The ActivityDesignerVerb type exposes the following members.

  NameDescription
Public methodActivityDesignerVerb(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.
Public methodActivityDesignerVerb(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.
Top

  NameDescription
Public propertyCheckedGets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.)
Public propertyCommandIDGets a new CommandID for an ActivityDesignerVerb. (Overrides MenuCommand.CommandID.)
Public propertyDescriptionGets or sets the description of the menu item for the verb. (Inherited from DesignerVerb.)
Public propertyEnabledGets a value indicating whether this menu item is available. (Inherited from MenuCommand.)
Public propertyGroupGets the DesignerVerbGroup associated with the ActivityDesignerVerb.
Public propertyOleStatusGets an integer that describes the status of the ActivityDesignerVerb. (Overrides MenuCommand.OleStatus.)
Public propertyPropertiesGets the public properties associated with the MenuCommand. (Inherited from MenuCommand.)
Public propertySupportedGets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.)
Public propertyTextGets the text description for the verb command on the menu. (Inherited from DesignerVerb.)
Public propertyVisibleGets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvoke()Invokes the command. (Inherited from MenuCommand.)
Public methodInvoke(Object)Invokes the command with the given parameter. (Inherited from MenuCommand.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnCommandChangedRaises the CommandChanged event. (Inherited from MenuCommand.)
Public methodToStringOverrides ToString. (Inherited from DesignerVerb.)
Top

  NameDescription
Public eventCommandChangedOccurs when the menu command changes. (Inherited from MenuCommand.)
Top

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

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft