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

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace