Diagram.SelectionRules Property
Gets the rules that determine which elements in the diagram can be selected in a diagram and whether the diagram itself can be selected.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable ReadOnly Property SelectionRules As DiagramSelectionRules
Get
public virtual DiagramSelectionRules SelectionRules { get; }
public:
virtual property DiagramSelectionRules^ SelectionRules {
DiagramSelectionRules^ get ();
}
abstract SelectionRules : DiagramSelectionRules
override SelectionRules : DiagramSelectionRules
function get SelectionRules () : DiagramSelectionRules
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramSelectionRules
The rules that determine which elements in the diagram can be selected and whether the diagram itself can be selected.
.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.