共用方式為


NavigationPage.PoppedToRoot Event

Definition

Event that is raised when the last nonroot element is popped from this NavigationPage element.

public event EventHandler<Xamarin.Forms.NavigationEventArgs> PoppedToRoot;
member this.PoppedToRoot : EventHandler<Xamarin.Forms.NavigationEventArgs> 

Event Type

System.EventHandler<NavigationEventArgs>

Remarks

The NavigationEventArgs can be cast to PoppedToRootEventArgs for access to additional properties. For example, the list of popped pages.

Applies to