Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 943 Bytes

application_application_1221375020.md

File metadata and controls

21 lines (14 loc) · 943 Bytes
-api-id -api-type
M:Windows.UI.Xaml.Application.#ctor
winrt method

Windows.UI.Xaml.Application.Application

-description

Initializes a new instance of the Application class.

-remarks

The Application object is typically provided in the initial XAML for App.xaml. The default project templates in Visual Studio generate an App class that derives from Application. This class associates itself with the XAML by calling the generated InitializeComponent method in its constructor. You can add additional initialization code to the App constructor, but you will typically only add code to associate handlers to Application events. For other initialization code, you should override one or more initialization methods such as OnLaunched.

-examples

-see-also