Share via


ShapeElement.CanSelect Property

Gets the shape and verifies whether a user can select it.

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

Syntax

'Declaration
Public Overridable ReadOnly Property CanSelect As Boolean
'Usage
Dim instance As ShapeElement 
Dim value As Boolean 

value = instance.CanSelect
public virtual bool CanSelect { get; }
public:
virtual property bool CanSelect {
    bool get ();
}
public function get CanSelect () : boolean

Property Value

Type: System.Boolean
true if a user can select the shape; otherwise, false.

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace