using System;
using System.ComponentModel;
namespace Tizen.NUI.Binding
{
///
/// EventArgs for the NavigationPage's navigation events.
///
[EditorBrowsable(EditorBrowsableState.Never)]
internal class NavigationEventArgs : EventArgs
{
///
/// Create a NavigationEventArgs instance.
///
/// The page that was popped or is newly visible.
public NavigationEventArgs(Page page)
{
if (page == null)
throw new ArgumentNullException("page");
Page = page;
}
///
/// Gets the page that was removed or is newly visible.
///
public Page Page { get; private set; }
}
}