Gets or sets a UI that is automatically shown when an application starts.
Assembly: PresentationFramework (in PresentationFramework.dll)
You can useto automatically load a UI resource when an application starts.
The following table shows the types of UI resources that can be loaded, the type of window they are opened into, and the type of application that these resources can be set as the.
Typically, you set the Startup event handler, which is useful if for applications that can only load the necessary UI resources at run time. For example, an application might wait until run time to load its resources if the name of the UI resource is stored in a configuration file.property declaratively in XAML. However, you can set programmatically, such as from a
Available since 3.0