IFrameworkView.SetWindow Method

A method that sets the current window for the app object’s view.

Syntax

public:
void SetWindow(
         CoreWindow^ window
)  

Parameters

window
Type: CoreWindow 

The current window for the app object.

Remarks

The app object calls your implementation of this method whenever it needs to set the current window, represented as aCoreWindow instance, for the associated view. Your implementation must at least assign the provided window to the view and register for any view and window events.

Requirements

Namespace: Windows.ApplicationModel.Core

Metadata: windows.winmd

See also

Reference

IFrameworkView Interface

IFrameworkView Members

Windows.ApplicationModel.Core Namespace