File: INavigationPageController.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Maui.Controls.Internals;
 
namespace Microsoft.Maui.Controls
{
	public interface INavigationPageController
	{
		Task<Page> RemoveAsyncInner(Page page, bool animated, bool fast);
 
		Page Peek(int depth = 0);
 
		IEnumerable<Page> Pages { get; }
 
		int StackDepth { get; }
 
		Task<Page> PopAsyncInner(bool animated, bool fast = false);
 
		event EventHandler<NavigationRequestedEventArgs> InsertPageBeforeRequested;
 
		event EventHandler<NavigationRequestedEventArgs> PopRequested;
 
		event EventHandler<NavigationRequestedEventArgs> PopToRootRequested;
 
		event EventHandler<NavigationRequestedEventArgs> PushRequested;
 
		event EventHandler<NavigationRequestedEventArgs> RemovePageRequested;
	}
}