Iris Classon
Iris Classon - In Love with Code

WinRT/Metro App Q n’ A: How do I programmatically unsnap from Snapped view?

While you cannot force an app into snapped mode, you can try to unsnap the app from snapped mode. Here is how you do it:

How to unsnap from snapped view in a WinRT app / Metro app

The code in c# : Windows.UI.ViewManagement.ApplicationView.TryUnsnap();

App example can be found here (unsnapping in javascript, C# C++ and VB.NET)

Read about the TryUnsnap method here

Comments

Leave a comment (via email)


Last modified on 2012-09-09