Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Need to Drag nodes while DoubleAnimation (Read 1636 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Need to Drag nodes while DoubleAnimation
Jun 25th, 2009 at 12:10pm
Print Post  
Hi Stoyan,

I have applied DoubleAnimation over the nodes in my application.
When mouse enters to the node, node grows.I want to drag node this time in growing positon itself. Node should be shrink at the time when I drop it somewhere in the diagram and mouse is not over it.

Is it possible if yes please tell us how?

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Need to Drag nodes while DoubleAnimation
Reply #1 - Jun 26th, 2009 at 6:14am
Print Post  
Hi Bala,

Do you need the animation to continue while moving the node? In such case the center of the animated ScaleTransform should shift after each mouse movement. Try updating the ScaleTransform.CenterX/Y coordinates from a NodeModifying event handler.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint