Uredi

Deli z drugimi prek


VirtualizedContainerService.GetViewElement(ModelItem, ICompositeView) Method

Definition

Returns the workflow view element that corresponds to the specified model item.

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

Parameters

modelItem
ModelItem

The underlying model item of the workflow view element to get.

sourceContainer
ICompositeView

The drag source dependency property value to set for the workflow view element.

Returns

The workflow view element that corresponds to the specified model item.

Applies to