summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/ModalEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/ModalEventArgs.cs')
-rw-r--r--Xamarin.Forms.Core/ModalEventArgs.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/ModalEventArgs.cs b/Xamarin.Forms.Core/ModalEventArgs.cs
new file mode 100644
index 00000000..483ea5ad
--- /dev/null
+++ b/Xamarin.Forms.Core/ModalEventArgs.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace Xamarin.Forms
+{
+ public abstract class ModalEventArgs : EventArgs
+ {
+ protected ModalEventArgs(Page modal)
+ {
+ Modal = modal;
+ }
+
+ public Page Modal { get; private set; }
+ }
+} \ No newline at end of file