Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在wp7中长按ApplicationBarIconButton,我需要知道长按过程中的开始事件和结束事件,我该怎么做呢?谢谢!
这是不可能的。ApplicationBarAPI 非常严格,这是 Microsoft 为确保一致性而有意采取的举措。您不能处理来自ApplicationBar. 如果您想要这种行为,则必须构建自己的 UI 来支持它。
ApplicationBar
值得注意的是,您的用户不会期望在应用栏上出现“长按”(通常称为点击并按住)行为。