Udostępnij za pośrednictwem


CoreApplication.MainView Property

Definition

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.

Applies to