Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: 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

Microsoft.VisualStudio.Modeling.Diagrams Namespace