WorkflowViewService.CreateViewElement(ModelItem) Method

Definition

Creates a new WorkflowViewElement that supports the type of the specified ModelItem.

protected:
 System::Activities::Presentation::WorkflowViewElement ^ CreateViewElement(System::Activities::Presentation::Model::ModelItem ^ modelItem);
protected System.Activities.Presentation.WorkflowViewElement CreateViewElement (System.Activities.Presentation.Model.ModelItem modelItem);
member this.CreateViewElement : System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.WorkflowViewElement
Protected Function CreateViewElement (modelItem As ModelItem) As WorkflowViewElement

Parameters

modelItem
ModelItem

One entity in the editing model of an activity designer.

Returns

A workflow view element that supports the same type as the model item argument.

Applies to