IFrameworkView.SetWindow(CoreWindow) Method
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.
Sets the current window for the app object's view.
public:
void SetWindow(CoreWindow ^ window);
void SetWindow(CoreWindow const& window);
public void SetWindow(CoreWindow window);
function setWindow(window)
Public Sub SetWindow (window As CoreWindow)
Parameters
- window
- 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 a CoreWindow 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.