简体   繁体   English

如何在WP8应用程序中显示对应用程序栏的控件?

[英]How to display a control over app bar in WP8 app?

Working on a popup menu displayed when an app bar icon button is clicked (similar to the Respond button submenu in the standard Email WP app). 单击应用程序栏图标按钮时将显示弹出菜单(类似于标准“电子邮件WP”应用程序中的“响应”按钮子菜单)。 How can I position a control like StackPanel over the app bar when the app bar is visible? 当应用栏可见时,如何将诸如StackPanel之类的控件放置在应用栏上?

In Windows Phone Application Bar is a system control, so it is created by system and appears "on" your application. 在Windows Phone应用程序栏中,它是一个系统控件,因此它是由系统创建的,并显示在应用程序“上”。 You can try to use third-party control for Application Bar or try to calculate position for your StackPanel manually dependent on screen size and orientation. 您可以尝试对应用程序栏使用第三方控件 ,也可以尝试根据屏幕尺寸和方向手动计算StackPanel的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM