次の方法で共有


Compartment.CanMove Property

Gets the compartment shape and verifies whether a user can move it in the diagram.

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

Syntax

'宣言
Public Overrides ReadOnly Property CanMove As Boolean
    Get
public override bool CanMove { get; }
public:
virtual property bool CanMove {
    bool get () override;
}
abstract CanMove : bool
override CanMove : bool
override function get CanMove () : boolean

Property Value

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

Remarks

By default, the return value is false.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace