How can I handle an event when pressed Start button (Windows Phone)

荒凉一梦 提交于 2019-12-05 18:10:31

The Start and Search buttons themselves are reserved and do not generate events to third party applications.

Having said that, two events will be generated when the user pushes the start button:

  1. A navigation event with NavigationMode being Forward and IsNavigationInitiator being false
  2. A PhoneApplicationService.Deactivated event

However you cannot cancel the navigation using either of these events and they can occur for other reasons (like pressing the search button).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!