Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1022 Bytes

application_onwindowcreated_1983609380.md

File metadata and controls

24 lines (17 loc) · 1022 Bytes
-api-id -api-type
M:Windows.UI.Xaml.Application.OnWindowCreated(Windows.UI.Xaml.WindowCreatedEventArgs)
winrt method

Windows.UI.Xaml.Application.OnWindowCreated

-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