A method that sets the current window for the app object’s view.
public:
void SetWindow(
CoreWindow^ window
)
window
Type: CoreWindow
The current window for the app object.
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.
Namespace: Windows.ApplicationModel.Core
Metadata: windows.winmd