Επεξεργασία

Κοινή χρήση μέσω


VirtualizedContainerService.GetContainer(ModelItem, ICompositeView) Method

Definition

Gets a container and associates it with a specified model item and returns a UI element that represents the association.

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

Parameters

modelItem
ModelItem

The ModelItem associated with the container.

sourceContainer
ICompositeView

The ICompositeView that is associated with the model item.

Returns

The UIElement that represents the container associated with the model item.

Applies to