SwimlaneShape.CoerceSelection(DiagramItem, DiagramClientView, Boolean) Method

Definition

Allows a shape to change the selected items. Called from the select action.

public:
 override void CoerceSelection(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ item, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, bool isAddition);
public override void CoerceSelection (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem item, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, bool isAddition);
override this.CoerceSelection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * bool -> unit
Public Overrides Sub CoerceSelection (item As DiagramItem, view As DiagramClientView, isAddition As Boolean)

Parameters

item
DiagramItem

Diagram item that's being affected.

view
DiagramClientView

View that we're operating on.

isAddition
Boolean

Whether selection is being added or removed.

Applies to