File: NavigationEventArgs.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using System;
 
namespace Microsoft.Maui.Controls
{
	/// <include file="../../docs/Microsoft.Maui.Controls/NavigationEventArgs.xml" path="Type[@FullName='Microsoft.Maui.Controls.NavigationEventArgs']/Docs/*" />
	public class NavigationEventArgs : EventArgs
	{
		/// <include file="../../docs/Microsoft.Maui.Controls/NavigationEventArgs.xml" path="//Member[@MemberName='.ctor']/Docs/*" />
		public NavigationEventArgs(Page page)
		{
			if (page == null)
				throw new ArgumentNullException(nameof(page));
 
			Page = page;
		}
 
		/// <include file="../../docs/Microsoft.Maui.Controls/NavigationEventArgs.xml" path="//Member[@MemberName='Page']/Docs/*" />
		public Page Page { get; private set; }
	}
}