CoreApplication.MainView Property
Definition
Important
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 main CoreApplicationView instance for all running apps that use this CoreApplication instance.
public:
static property CoreApplicationView ^ MainView { CoreApplicationView ^ get(); };
static CoreApplicationView MainView();
public static CoreApplicationView MainView { get; }
var coreApplicationView = CoreApplication.mainView;
Public Shared ReadOnly Property MainView As CoreApplicationView
Property Value
The main view for this CoreApplication instance.
Remarks
A CoreApplicationView is the app window and its thread.
Windows Phone 8
This API is supported in native apps only.