How to start a MetroApp directly in Snapped mode?

2019-04-11 12:54发布

问题:

Possible Duplicate:
Force WinRT app to snapped view

Is it possible to start a MetroApp directly in snapped mode?

I want to call another App by Protocol, an the App should open in Snapped mode.

The call to the App by Protocol is not a problem, it works fine, but the App opens in Fullscreen or Main-Content Mode.

I have'nt found any configuration to say "start on Sidebar".

Please Help!

回答1:

As of now the answer is no. Since the snapped mode functionality depends on the user , you cant skip it / restrict it using code , Hope MS might provide this feature in further .

As @Hermit Dave mentioned unsnapping is possible.



回答2:

The ApplicationView class that i have come across only exposes TryUnsnap and Value (current view value) which is used to request a change from snapped to unsnapped view.

http://msdn.microsoft.com/en-us/library/windows/apps/hh701658.aspx

I dont think what you want is possible.