Xamarin.Forms Guides | Samples

Xamarin.Forms.INavigation.PopToRootAsync Method

Pops all but the root Page off the navigation stack, with optional animation.

Syntax

public Task PopToRootAsync (Boolean animated)

Parameters

animated
Whether to animate the pop.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0