silverlight drag move delta

Posted by Notter on Stack Overflow See other posts from Stack Overflow or by Notter
Published on 2011-02-21T23:22:16Z Indexed on 2011/02/21 23:25 UTC
Read the original article Hit count: 220

Filed under:
|
|
|

Hi, this should be pretty simple, but i forgot how to do it...

I've got a Border on a canvas, and i want to be able to move it around. i could do this easily with the MouseDragElementBehavior.

but i don't want smooth movment, i want to to jump on the Y axis in an offset of 30. and on the X in 193.

And it's done in MVVM, so i guess i should implement it as a behavior, right?

anyway, how do i do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight