summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/RootPages/Issue465Page.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/RootPages/Issue465Page.cs')
-rw-r--r--Xamarin.Forms.Controls/RootPages/Issue465Page.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/RootPages/Issue465Page.cs b/Xamarin.Forms.Controls/RootPages/Issue465Page.cs
new file mode 100644
index 00000000..84cfa956
--- /dev/null
+++ b/Xamarin.Forms.Controls/RootPages/Issue465Page.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections;
+using System.Collections.ObjectModel;
+using System.Diagnostics;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Xamarin.Forms.Controls
+{
+ //Issue 465
+ public class Issue465Page : TabbedPage
+ {
+ public Issue465Page ()
+ {
+ var popModalButton = new Button {
+ Text = "PopModalAsync",
+ HorizontalOptions = LayoutOptions.CenterAndExpand,
+ VerticalOptions = LayoutOptions.CenterAndExpand
+ };
+ var splashPage = new ContentPage { Content = popModalButton };
+
+ Navigation.PushModalAsync (splashPage);
+
+ popModalButton.Clicked += (s, e) => Navigation.PopModalAsync ();
+
+ }
+ }
+} \ No newline at end of file