开发者

How to bind the mouse

开发者 https://www.devze.com 2022-12-11 19:13 出处:网络
i wish bind the mouse icon in a Visual Brush,i.e i have a Canvas and so i addA visual Brush to bind whole content of the Canvas but now i wish bind also when the mouse move the Visual Brush can reprod

i wish bind the mouse icon in a Visual Brush,i.e i have a Canvas and so i add A visual Brush to bind whole content of the Canvas but now i wish bind also when the mouse move the Visual Brush can reproduce the movement of the mouse into th开发者_C百科e Canvas. Do you have any idea how work out this step/feature? Thanks so much.

ahh i forget i wish develop this feature in WPF

Cheers

EDIT: Maybe im not clear to explain my request so i will link a webpage that recreate the same effect Example

here you can understand better infact i wish reproduce the same effect of the mouse binding in a small window and when the mouse move in the main window the shape in the small window will follow its movement.

Sorry my English is not good.

Thanks


Mitsu Furuta has a good example of how to do it in this blog post. Just skip the part about Surface and the popfly duck ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号