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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function ShouldReparentOnMove As Boolean
'Usage
Dim instance As ShapeElement
Dim returnValue As Boolean
returnValue = instance.ShouldReparentOnMove()
public virtual bool ShouldReparentOnMove()
public:
virtual bool ShouldReparentOnMove()
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.