Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property SelectionRules As DiagramSelectionRules
Get
public DiagramSelectionRules SelectionRules { get; }
public:
property DiagramSelectionRules^ SelectionRules {
DiagramSelectionRules^ get ();
}
member SelectionRules : DiagramSelectionRules
function get SelectionRules () : DiagramSelectionRules
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramSelectionRules
Remarks
To define your own constraints on the selection, override your Diagram's SelectionRules property and return your own DiagramSelectionRules derived class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.