Page.OnDisappearing Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Remarks
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).