ActivityToolboxItem::CreateComponentsWithUI Method (IDesignerHost^)

 

Creates an Activity component or an array of Activity components that generate a dialog box on the design surface when the toolbox item is invoked.

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

public:
virtual array<IComponent^>^ CreateComponentsWithUI(
	IDesignerHost^ host
)

Parameters

host
Type: System.ComponentModel.Design::IDesignerHost^

The IDesignerHost to host the toolbox item.

Return Value

Type: array<System.ComponentModel::IComponent^>^

An array of created IComponent objects.

Activity designer developers can override this method to display a dialog box when the toolbox item is dragged onto the design surface. Unless overridden, this method has the same behavior as CreateComponentsCore.

.NET Framework
Available since 3.0
Return to top
Show: