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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property CanSelect As Boolean
public virtual bool CanSelect { get; }
public:
virtual property bool CanSelect {
bool get ();
}
abstract CanSelect : bool with get
override CanSelect : bool with get
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
- 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.