WorkflowViewService.GetViewElement(ModelItem) Method

Definition

Creates a new WorkflowViewElement that maps to the specified ModelItem.

public:
 System::Activities::Presentation::WorkflowViewElement ^ GetViewElement(System::Activities::Presentation::Model::ModelItem ^ modelItem);
public System.Activities.Presentation.WorkflowViewElement GetViewElement (System.Activities.Presentation.Model.ModelItem modelItem);
member this.GetViewElement : System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.WorkflowViewElement
Public Function GetViewElement (modelItem As ModelItem) As WorkflowViewElement

Parameters

modelItem
ModelItem

One entity in the editing model of an activity designer.

Returns

A new view element that maps to a specified model item.

Applies to