summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/NavigationEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/NavigationEventArgs.cs')
-rw-r--r--Xamarin.Forms.Core/NavigationEventArgs.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/NavigationEventArgs.cs b/Xamarin.Forms.Core/NavigationEventArgs.cs
new file mode 100644
index 00000000..0ccd4343
--- /dev/null
+++ b/Xamarin.Forms.Core/NavigationEventArgs.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace Xamarin.Forms
+{
+ public class NavigationEventArgs : EventArgs
+ {
+ public NavigationEventArgs(Page page)
+ {
+ if (page == null)
+ throw new ArgumentNullException("page");
+
+ Page = page;
+ }
+
+ public Page Page { get; private set; }
+ }
+} \ No newline at end of file