File: Page\NavigatedFromEventArgs.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using System;
using Microsoft.Maui.Controls.Internals;
 
namespace Microsoft.Maui.Controls
{
	internal enum NavigationType
	{
		Push,
		Pop,
		PopToRoot,
		Insert,
		Remove,
		PageSwap,
		Initialize
	}
 
	public sealed class NavigatedFromEventArgs : EventArgs
	{
		internal NavigationType NavigationType { get; }
 
		internal Page DestinationPage { get; }
 
		internal NavigatedFromEventArgs(Page destinationPage, NavigationType navigationType)
		{
			DestinationPage = destinationPage;
			NavigationType = navigationType;
		}
	}
}