如何在Windows Phone 8中处理操作完成事件 [英] How to handle manipulationcompleted event in windows phone 8
问题描述
我想要scrollviewer的操作完成事件.我已经读过要使用AddHandler方法来实现操作完成事件.我一直使用AddHandler仍未收到此事件.为此,我有以下代码
I want manipulationcompleted event for scrollviewer.I have read that to implement manipulationcompleted event use AddHandler method. I have used AddHandler still i am not getting this event.I have following code for that
Mainscroll.ManipulationCompleted + =新的EventHandler< System.Windows.Input.ManipulationCompletedEventArgs>(Mainscroll_completed);
Mainscroll.ManipulationCompleted += new EventHandler<System.Windows.Input.ManipulationCompletedEventArgs>(Mainscroll_completed);
推荐答案
在上面的代码中,您似乎正在尝试为对象添加ManipulationCompleted事件处理程序 内部同一对象的ManipulationCompleted事件处理程序...(??)
In the code above it looks like you're trying to add a ManipulationCompleted event hander for an object within the ManipulationCompleted event hander for the same object ... (??)
这篇关于如何在Windows Phone 8中处理操作完成事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!