How to create a new window in UWP
date: Feb 07, 2016
Some friends of mine asked me how to create a window in UWP just like WinForms or UWP, to make their app more desktop-like. Actually, it is pretty simple.
I cannot say this is difficult or simple. In order to open a new window, You need to use CoreApplication.CreateNewView() to generate the Window, or view:
var currentAV = ApplicationView.GetForCurrentView();
async () =>
var newWindow = Window.Current;
var newAppView = ApplicationView.GetForCurrentView();newAppView.Title = title;
newWindow.Content = frame;
This site is hosted on Digital Ocean. Deploy your next app in seconds. Get $100 in cloud credits from @DigitalOcean using my link.