The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
StartupEventArgs Class
Silverlight
Contains the event data for the Startup event.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
The StartupEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | InitParams | Gets the initialization parameters that were passed as part of HTML initialization of a Silverlight plug-in. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The following example code demonstrates how to handle the Application.Startup event.
using System.Windows; // Application, StartupEventArgs namespace SilverlightApplication { public partial class App : Application { public App() { this.Startup += this.Application_Startup; InitializeComponent(); } private void Application_Startup(object sender, StartupEventArgs e) { // Detect when the application starts up. } } }
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:



