This topic has not yet been rated - Rate this topic

ShapeElement.CoerceSelection Method

Allows a shape to determine which other shapes are selected.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual void CoerceSelection(
	DiagramItem item,
	DiagramClientView view,
	bool isAddition
)

Parameters

item
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The diagram.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The diagram view.
isAddition
Type: System.Boolean
true to select a shape; false to remove selection from a shape.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ