Share via

Page.OnDisappearing Method


When overridden, allows the application developer to customize behavior as the Page disappears.

protected virtual void OnDisappearing ();
abstract member OnDisappearing : unit -> unit
override this.OnDisappearing : unit -> unit


OnDisappearing() is called when the page disappears due to navigating away from the page within the app. It is not called when the app disappears due to an event external to the app (e.g. user navigates to the home screen or another app, a phone call is received, the device is locked, the device is turned off).

Applies to