开发者

Does the MouseLeftButtonDown work on WP7 devices?

I've recently started work on an application for Windows Phone 7 devices and I haven't yet acquired a WP7 device so I do all the debugging and testing in the emulator.

So. In my application I use the MouseLe开发者_如何学CftButtonDown event handler to catch a click and navigate from one page to the other. It works perfectly on the emulator but I would like to know for sure if it will work on the real devices as well.

The reason I got doubts is because of the name of the event MouseLeftButtonDown... a phone doesn't have mouse.

So anyone knows? Anyone can try this and tell me?


For Windows Phone 7.1 (Mango) all FrameworkElements now support Tap and DoubleTap, and you're recommended to use those instead of the Mouse Events.


If it works in the emulator then it works on the device. It would be a poor emulator that behaved differently from the device in such a fundemental area.


Yes, MouseLeftButtonDown works on the device.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜