Windows Dev Center

IFrameworkView.Initialize method

A method for app view initialization, which is called when an app object is launched.

Syntax


void Initialize(
  CoreApplicationView applicationView
)

Parameters

applicationView

Type: CoreApplicationView

The default view provided by the app object. You can use this instance in your implementation to obtain the CoreWindow created by the app object, and register callbacks for the Activated event.

Remarks

This method is called by CoreApplication.Run on the view object that implements this interface. It is the first method called on the view implementation when the app object is activated.

These three methods are called, in order, after the app object (defined by a CoreApplication singleton instance) has started.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.winmd

See also

IFrameworkView

 

 

Show:
© 2015 Microsoft