Application Members
MSDN Home
MSDN
MSDN Library
Web Development
Silverlight
Silverlight 3
.NET Framework Class Library f ...
System.Windows Namespace
Application Class
Application Class
Application Members
Application Constructor
Application Methods
Application Properties
Application Events
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library for Silverlight
Application Members
Encapsulates a Silverlight application.
The
Application
type exposes the following members.
Constructors
Name
Description
Application
Initializes a new instance of the
Application
class.
Top
Methods
Name
Description
CheckAndDownloadUpdateAsync
Launches an asynchronous process to check for and download an updated version of the application.
Equals(Object)
Determines whether the specified
Object
is equal to the current
Object
.
(Inherited from
Object
.)
Finalize
Allows an
Object
to attempt 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
.)
GetResourceStream(Uri)
Returns a resource file from a location in the application package.
GetResourceStream(StreamResourceInfo, Uri)
Returns a resource file from a location in the specified zip package.
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
Install
Attempts to install the application so that it can run outside the browser.
LoadComponent
Loads 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.
MemberwiseClone
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
ToString
Returns a
String
that represents the current
Object
.
(Inherited from
Object
.)
Top
Properties
Name
Description
ApplicationLifetimeObjects
Gets the application extension services that have been registered for this application.
Current
Gets the
Application
object for the current application.
Host
Gets various details about the Silverlight application's host.
InstallState
Gets the current out-of-browser installation state of the application.
IsRunningOutOfBrowser
Gets a value that indicates whether the application was launched from the out-of-browser state.
Resources
Gets a collection of application-scoped resources, such as styles, templates, and brushes.
RootVisual
Gets or sets the main application UI.
Top
Events
Name
Description
CheckAndDownloadUpdateCompleted
Occurs when the application has finished checking for updates in response to a
CheckAndDownloadUpdateAsync
method call.
Exit
Occurs just before an application shuts down and cannot be canceled.
InstallStateChanged
Occurs when the
InstallState
property value changes.
Startup
Occurs when an application is started.
UnhandledException
Occurs when an exception that is raised by Silverlight is not handled.
Top
See Also
Reference
Application Class
System.Windows Namespace
Tags :