इसके माध्यम से साझा किया गया


IFrameworkView.SetWindow(CoreWindow) Method

Definition

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.

Applies to

See also