以编程方式显示应用程序栏菜单 (wp7) [英] Show applicationbar menu programmatically (wp7)

查看:30
本文介绍了以编程方式显示应用程序栏菜单 (wp7)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 wp7,在应用程序栏中有一些按钮.当按下每个按钮时,我会更改应用程序栏菜单的 menuItems.在此之后,我想在按下应用程序栏按钮时自动打开菜单.

I have a wp7 with some buttons in the application bar. When each button is pressed I change the menuItems of the application bar's menu. After this, I want to automatically open the menu when an application bar button is pressed.

但似乎 SDK 不允许我这样做.

But it seems that the SDK doesn't allow me to do that.

你知道任何解决方法吗?

Do you know any work around?

我在想,如果上述方法不可行,请模拟用户在屏幕右下角单击手指以打开菜单.对此有什么想法吗?

I was thinking, if the above is not possible, to simulate a user finger click at the bottom right corner of the screen to open the menu. Any ideas on that?

提前谢谢

推荐答案

据我所知,此功能尚未公开.在测试版期间这是不可能的,我没有注意到任何改变,因为这会允许它.您可以随时在他们的建议论坛上发表评论或在 connect (vs/wpdt) 上提出建议.

As far as I'm aware this capability has not been exposed as yet. It wasn't possible during beta and I've not noticed anything that's changed since that would allow it. You could always comment on the their suggestions forum or raise it on connect (vs/wpdt).

这篇关于以编程方式显示应用程序栏菜单 (wp7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆