Application. Get Current View Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the active view for the app.
public: static CoreApplicationView ^ GetCurrentView();
static CoreApplicationView GetCurrentView();
public static CoreApplicationView GetCurrentView();
Public Shared Function GetCurrentView () As CoreApplicationView
The active view.
A CoreApplicationView is an app window and its thread.
Windows Phone 8
This API is supported in native apps only.