SwimlaneShape::CoerceSelection Method (DiagramItem^, DiagramClientView^, Boolean)

 

Expands or reduces the selection when the user tries to select this shape.

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

public:
virtual void CoerceSelection(
	DiagramItem^ item,
	DiagramClientView^ view,
	bool isAddition
) override

Parameters

item
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The other shape to select on the diagram.

view
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The view for the diagram.

isAddition
Type: System::Boolean

true if the user is adding to the current selection; false if the selection is being removed.

Return to top
Show: