简体   繁体   English

WinRT Store Apps 30%至100%视图

[英]WinRT Store Apps 30% to 100% view

So right now I have an app that displays a menu when its in 30% mode, and when you click a button on the menu a popup informs you that it needs to switch to a full view in order to display the page the user selected, to do this it offers a Full Screen button and a Cancel button. 因此,现在我有一个应用程序,当它处于30%模式时会显示一个菜单,当您单击菜单上的按钮时,弹出窗口会通知您它需要切换到完整视图才能显示用户选择的页面,为此,它提供了“全屏”按钮和“取消”按钮。 If the user clicks the full screen button it should then snap the app out of 30% mode into full screen. 如果用户单击全屏按钮,则应将应用程序从30%模式跳出全屏。 To do this I am using the windows.UI.ViewManagement.ApplicationView.TryUnsnap(); 为此,我正在使用windows.UI.ViewManagement.ApplicationView.TryUnsnap(); API call. API调用。 However, when I make this call it only changes the App to 70% mode. 但是,当我打电话时,它只会将App更改为70%模式。 I can't find any documentation anywhere that says Apps can't go to 100% but at the same time the only API ever mentioned is the TryUnsnap(); 我在任何地方都找不到任何文件,说Apps无法达到100%的水平,但与此同时,唯一提到的API是TryUnsnap(); and its doc's say nothing about %screen it can go to. 它的文档对它可以使用的%screen没什么说的。

Can someone tell me if there is a way to go from 30% to 100% in WinRT store apps, or a MS doc that says 70% is the limit? 有人可以告诉我WinRT商店应用程序中是否有办法将30%提高到100%,或者MS文档说限制是70%?

No its not possible at this time. 目前尚不可能。 It's really up to the user - since they were in snap mode, Windows wants them to stay in snap mode. 这实际上取决于用户-因为他们处于快照模式,Windows希望他们保持快照模式。

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

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