Application.Current property

Applies to Windows and Windows Phone

Gets the Application object for the current application.

Syntax


public:
static property Application^ Current { 
   Application^ get();
}

Property value

Type: Application

The Application object for the current application.

Remarks

Application is a singleton that implements the static Current property to provide shared access to the Application instance for the current application. The singleton pattern ensures that state managed by Application, including shared resources and properties, is available from a single, shared location.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

Application

 

 

Show:
© 2014 Microsoft