标签: c# xaml windows-phone-8 windows-phone-8.1
如何检测AppBarButton是否被保留? 有一个Hold事件,但它永远不会触发,即使我将AppBarButton的属性IsHoldingEnabled设置为true。甚至当我将CommandBar的IsHoldingEnabled设置为true时。
答案 0 :(得分:0)
在xaml的{{1}}代码中尝试使用此代码。
xaml
appbar
Reference
希望它有所帮助!