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 in a derived class, allows the application developer to customize behavior as the page disappears.
protected:
virtual void OnDisappearing();
protected virtual void OnDisappearing ();
abstract member OnDisappearing : unit -> unit
override this.OnDisappearing : unit -> unit
Protected Overridable Sub OnDisappearing ()
Remarks
This method 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for