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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable ReadOnly Property SelectionRules As DiagramSelectionRules
'使用
Dim instance As Diagram
Dim value As DiagramSelectionRules

value = instance.SelectionRules
public virtual DiagramSelectionRules SelectionRules { get; }
public:
virtual property DiagramSelectionRules^ SelectionRules {
    DiagramSelectionRules^ get ();
}
public 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.

Permissions

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace