共用方式為


ShapeElement.CanMove Property

Gets the shape and verifies whether a user can move 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 CanMove As Boolean
public virtual bool CanMove { get; }
public:
virtual property bool CanMove {
    bool get ();
}
abstract CanMove : bool with get 
override CanMove : bool with get
function get CanMove () : boolean

Property Value

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

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace