Windows.UI.Xaml.Application.OnWindowCreated

January 22, 2022 ยท View on GitHub

-description

Invoked when the application creates a window.

-parameters

-param args

Event data for the event.

-remarks

This method is called once for the creation of the main window, once for each hosted window, and once each time CreateNewView is called. You can override this method, for example, to access various panes by calling GetForCurrentView methods such as SearchPane.GetForCurrentView and SettingsPane.GetForCurrentView.

-examples

-see-also