Windows Phone 8 Application Bar Button Long Tap Event

前端 未结 1 778
梦毁少年i
梦毁少年i 2021-01-28 23:46

I am working on a windows phone 8 c# application. I have to get long tap events of Forward and Backward buttons that I have placed in the Application bar, but found only Click e

相关标签:
1条回答
  • 2021-01-29 00:29

    This is not possible. The ApplicationBar API is quite restrictive, which is a deliberate move by Microsoft to ensure consistency. You cannot handle arbitrary events from the ApplicationBar. If you want this kind of behaviour, you will have to build your own UI to support it.

    It is worth noting that your users will not expect 'long press' (more commonly referred to as tap-and-hold) behaviour on the app-bar.

    0 讨论(0)
提交回复
热议问题