ShapeElement.ShouldReparentOnMove Method
Verifies whether a child shape should be added to a new parent when the child shape is moved.
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 Function ShouldReparentOnMove As Boolean
public virtual bool ShouldReparentOnMove()
public:
virtual bool ShouldReparentOnMove()
abstract ShouldReparentOnMove : unit -> bool
override ShouldReparentOnMove : unit -> bool
public function ShouldReparentOnMove() : boolean
Return Value
Type: System.Boolean
true if the child shape should be added to a new parent when the child shape is moved; otherwise, false.
.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.