.NET Framework Class Library for Silverlight
Application Members

Encapsulates a Silverlight application.

The Application type exposes the following members.

Constructors

  NameDescription
Public methodApplicationInitializes a new instance of the Application class.
Top
Methods

  NameDescription
Public methodCheckAndDownloadUpdateAsyncLaunches an asynchronous process to check for and download an updated version of the application.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodStatic memberGetResourceStream(Uri)Returns a resource file from a location in the application package.
Public methodStatic memberGetResourceStream(StreamResourceInfo, Uri)Returns a resource file from a location in the specified zip package.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInstallAttempts to install the application so that it can run outside the browser.
Public methodStatic memberLoadComponentLoads a XAML file that is located at the specified Uniform Resource Identifier (URI) and converts it to an instance of the object that is specified by the root element of the XAML file.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyApplicationLifetimeObjectsGets the application extension services that have been registered for this application.
Public propertyStatic memberCurrentGets the Application object for the current application.
Public propertyHostGets various details about the Silverlight application's host.
Public propertyInstallStateGets the current out-of-browser installation state of the application.
Public propertyIsRunningOutOfBrowserGets a value that indicates whether the application was launched from the out-of-browser state.
Public propertyResourcesGets a collection of application-scoped resources, such as styles, templates, and brushes.
Public propertyRootVisualGets or sets the main application UI.
Top
Events

  NameDescription
Public eventCheckAndDownloadUpdateCompletedOccurs when the application has finished checking for updates in response to a CheckAndDownloadUpdateAsync method call.
Public eventExitOccurs just before an application shuts down and cannot be canceled.
Public eventInstallStateChangedOccurs when the InstallState property value changes.
Public eventStartupOccurs when an application is started.
Public eventUnhandledExceptionOccurs when an exception that is raised by Silverlight is not handled.
Top
See Also

Reference

Tags :


Page view tracker