DeactivatedEventArgs::Reason Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Indicates the reason that the application was deactivated.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: Microsoft.Phone.Shell::DeactivationReasonThe reason the application was deactivated.
Applications can use the Reason property to determine why the application was deactivated and, when appropriate, alert the user with a ShellToast.
Show: