VirtualizedContainerService.GetViewElement(ModelItem, ICompositeView) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.