DesignSurfaceElementOperations::ChooseMergeTarget Method (ModelElement^, ElementGroup^)

 

Gets the target element for the merge, given the proposed targetElement. This gives the ElementOperations the chance to change the intended target for the merge. By default, this method will give the target element the chance to change the intended target.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual ModelElement^ ChooseMergeTarget(
	ModelElement^ proposedTargetElement,
	ElementGroup^ elementGroup
) override

Parameters

proposedTargetElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The proposed target element for the merge.

elementGroup
Type: Microsoft.VisualStudio.Modeling::ElementGroup^

The ElementGroup that will be conncted into the target during the merge.

Return to top
Show: