如何将图像从一个点移动到另一点 [英] How to move an image from one point to another point

查看:144
本文介绍了如何将图像从一个点移动到另一点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在编写一个程序,希望当指针在图像上时将图像从一个位置移动到另一位置.图像的目的地将在窗口中的任何位置.

并且,在移至目的地时,图像尺寸必须逐渐减小到某些特定尺寸.
我为此使用WPF C#
在此先感谢

Hi,
I am writing a program in that i want to move an image from one position to another position when the pointer is on the image.the destination of an image will be anywhere in the window.

And,while moving to the destination the image size has to gradually decrease to some particular size.
I am using WPF C# for this
Thanks in advance

推荐答案

一些链接-
http://vbcity.com/blogs/xtab/archive/2009/10/26/wpf-how-to-move-elements-at-runtime.aspx [ http://blogs.msdn.com/b/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx [ http://scottgarland.com/Post/Display/WPF_Drag_and_Drop_Image_Between_Applications [在WPF中将图片从一个画布移动到另一个画布 [ ^ ]

视频链接
WPF演示-通过鼠标单击在表面上移动图像 [
Some links -
http://vbcity.com/blogs/xtab/archive/2009/10/26/wpf-how-to-move-elements-at-runtime.aspx[^]
http://blogs.msdn.com/b/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx[^]
http://scottgarland.com/Post/Display/WPF_Drag_and_Drop_Image_Between_Applications[^]
Move Picture from one Canvas to another Canvas in WPF[^]

A video link
WPF Demo - Moving an image on a surface by mouseclick[^].


这篇关于如何将图像从一个点移动到另一点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆