PhoneApplicationFrame.Obscured Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the shell chrome is covering the frame.

Namespace: Microsoft.Phone.Controls
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event Obscured As EventHandler(Of ObscuredEventArgs)
public event EventHandler<ObscuredEventArgs> Obscured
<object Obscured="EventHandler<ObscuredEventArgs>" .../>

Remarks

There is no indication of which piece or pieces of the shell chrome are obscuring the application. An application will get the Obscured event immediately after coming to the foreground if there is already some UI covering the screen. However, the event is not raised when the application is navigated away from during usage.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhoneApplicationFrame Class

Microsoft.Phone.Controls Namespace