Bewerken

Share via


ActivityToolboxItem.CreateComponentsWithUI(IDesignerHost) Method

Definition

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.

public:
 virtual cli::array <System::ComponentModel::IComponent ^> ^ CreateComponentsWithUI(System::ComponentModel::Design::IDesignerHost ^ host);
public virtual System.ComponentModel.IComponent[] CreateComponentsWithUI (System.ComponentModel.Design.IDesignerHost host);
abstract member CreateComponentsWithUI : System.ComponentModel.Design.IDesignerHost -> System.ComponentModel.IComponent[]
override this.CreateComponentsWithUI : System.ComponentModel.Design.IDesignerHost -> System.ComponentModel.IComponent[]
Public Overridable Function CreateComponentsWithUI (host As IDesignerHost) As IComponent()

Parameters

host
IDesignerHost

The IDesignerHost to host the toolbox item.

Returns

An array of created IComponent objects.

Remarks

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.

Applies to