阅读背景:

如何将控件的位置绑定到当前的鼠标位置?

来源:互联网 

Is there a way to bind to the mouse position in WPF in the XAML file? Or does that have to be done in code? I have a control inside a Canvas, and I just want the control to follow the mouse while the mouse cursor is inside the Canvas.Is there a way to bind to the mouse position in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: