SwimlaneShape.CoerceSelection(DiagramItem, DiagramClientView, Boolean) 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.
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.