Northwoods.GoWPF 1.3.5 Assembly
Move Method
See Also  Send Feedback
Northwoods.GoXam Namespace > Node Class : Move Method

newpos
a new Node.Position in model coordinates; not a new Node.Location
animated
whether the movement is animated by the diagram's LayoutManager
Move a node to a new position, perhaps with animation.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Move( _
   ByVal newpos As Point, _
   ByVal animated As Boolean _
) 
C# 
public virtual void Move( 
   Point newpos,
   bool animated
)

Parameters

newpos
a new Node.Position in model coordinates; not a new Node.Location
animated
whether the movement is animated by the diagram's LayoutManager

Remarks

Call this method in implementations of Northwoods.GoXam.Layout.DiagramLayout in order to get animated layouts. When animated is false, this just sets the Node.Position to the newpos.

Requirements

See Also

© 2012 All Rights Reserved.