Gets the window (app view) for the current app.
Syntaxvar retval = MSApp.getViewOpener();
This method has no parameters.
The window that opened the current view or null if no window opened the view.
The getViewOpener method is supported only for Windows Store apps.
You can also use this method to determine if the current window is the main window.