WorkflowViewService.GetViewElement(ModelItem) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.