summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/WebNavigationEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/WebNavigationEventArgs.cs')
-rw-r--r--Xamarin.Forms.Core/WebNavigationEventArgs.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/WebNavigationEventArgs.cs b/Xamarin.Forms.Core/WebNavigationEventArgs.cs
new file mode 100644
index 00000000..e6124c31
--- /dev/null
+++ b/Xamarin.Forms.Core/WebNavigationEventArgs.cs
@@ -0,0 +1,20 @@
+using System;
+
+namespace Xamarin.Forms
+{
+ public class WebNavigationEventArgs : EventArgs
+ {
+ protected WebNavigationEventArgs(WebNavigationEvent navigationEvent, WebViewSource source, string url)
+ {
+ NavigationEvent = navigationEvent;
+ Source = source;
+ Url = url;
+ }
+
+ public WebNavigationEvent NavigationEvent { get; internal set; }
+
+ public WebViewSource Source { get; internal set; }
+
+ public string Url { get; internal set; }
+ }
+} \ No newline at end of file