问题
How can I make an event when pressed on Start button (windows Phone) ?
UPDATED If it is not possible, so how can I understand that user have pressed START button ?
回答1:
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:
- A navigation event with NavigationMode being
Forward
and IsNavigationInitiator beingfalse
- 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).
来源:https://stackoverflow.com/questions/9850221/how-can-i-handle-an-event-when-pressed-start-button-windows-phone