ActivityDesignerVerb Constructor (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.

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

public:
ActivityDesignerVerb(
	ActivityDesigner^ activityDesigner,
	DesignerVerbGroup verbGroup,
	String^ text,
	EventHandler^ invokeHandler,
	EventHandler^ statusHandler
)

Parameters

activityDesigner
Type: System.Workflow.ComponentModel.Design::ActivityDesigner^

The ActivityDesigner to associate with the ActivityDesignerVerb.

verbGroup
Type: System.Workflow.ComponentModel.Design::DesignerVerbGroup

The DesignerVerbGroup in which this ActivityDesignerVerb belongs.

text
Type: System::String^

The description of the verb to show on the menu.

invokeHandler
Type: System::EventHandler^

The event handler that handles the menu selection event.

statusHandler
Type: System::EventHandler^

The event handler that handles status updates.

.NET Framework
Available since 3.0
Return to top
Show: