你遇到什么问题了呢.
我想在你点击的时候,在点击事件里面可以获得鼠标的位置,然后添加一个Image控件在这个位置上(InkCanvas.Left 和InkCanvas.Top去控制位置)
Sheldon _Xiao[MSFT] MSDN Community Support | Feedback to us Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
如果你的意思是拉一个矩形区域,可以绘制图形的话
那么你可以参考我以前和Bob Bao讨论的几个帖子
http://social.msdn.microsoft.com/Forums/zh-CN/wpfzhchs/thread/6b195111-0a3d-414c-8252-528335af68eb
里面还有连接
有的帖子里面是有代码例子下载的.
希望可以帮到你
与我交流: