summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/RootPages/RootContentPage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/RootPages/RootContentPage.cs')
-rw-r--r--Xamarin.Forms.Controls/RootPages/RootContentPage.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/RootPages/RootContentPage.cs b/Xamarin.Forms.Controls/RootPages/RootContentPage.cs
new file mode 100644
index 00000000..0e4e004a
--- /dev/null
+++ b/Xamarin.Forms.Controls/RootPages/RootContentPage.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections;
+using System.Collections.ObjectModel;
+using System.Diagnostics;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Xamarin.Forms.Controls
+{
+
+ public class RootContentPage : ContentPage
+ {
+ public RootContentPage (string hierarchy)
+ {
+ AutomationId = hierarchy + "PageId";
+ Content = new SwapHierachyStackLayout (hierarchy);
+ }
+ }
+} \ No newline at end of file