SelectedShapesCollection.SelectionRules Property
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.
Gets the DiagramSelectionRules object that constrains how ShapeElements can be added and removed from the selection.
public:
property Microsoft::VisualStudio::Modeling::Diagrams::DiagramSelectionRules ^ SelectionRules { Microsoft::VisualStudio::Modeling::Diagrams::DiagramSelectionRules ^ get(); };
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramSelectionRules SelectionRules { get; }
member this.SelectionRules : Microsoft.VisualStudio.Modeling.Diagrams.DiagramSelectionRules
Public ReadOnly Property SelectionRules As DiagramSelectionRules
Property Value
Remarks
To define your own constraints on the selection, override your Diagram's SelectionRules property and return your own DiagramSelectionRules derived class.