SelectedShapesCollection::SelectionRules Property

 

Gets the DiagramSelectionRules object that constrains how ShapeElements can be added and removed from the selection.

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

public:
property DiagramSelectionRules^ SelectionRules {
	DiagramSelectionRules^ get();
}

To define your own constraints on the selection, override your Diagram's SelectionRules property and return your own DiagramSelectionRules derived class.

Return to top
Show: