共用方式為


DiagramItem.CanSelect Property

Gets a value indicating whether this DiagramItem is selectable.

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

Syntax

'Declaration
Public ReadOnly Property CanSelect As Boolean
public bool CanSelect { get; }
public:
property bool CanSelect {
    bool get ();
}
member CanSelect : bool with get
function get CanSelect () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace