SelectedShapesCollection::SelectionRules Property
Visual Studio 2015
Gets the DiagramSelectionRules object that constrains how ShapeElements can be added and removed from the selection.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramSelectionRules^To define your own constraints on the selection, override your Diagram's SelectionRules property and return your own DiagramSelectionRules derived class.
Show: