diff --git a/src/Controls/samples/Controls.Sample.Sandbox/App.xaml.cs b/src/Controls/samples/Controls.Sample.Sandbox/App.xaml.cs
index 9512dea98e39..9dc08b9101db 100644
--- a/src/Controls/samples/Controls.Sample.Sandbox/App.xaml.cs
+++ b/src/Controls/samples/Controls.Sample.Sandbox/App.xaml.cs
@@ -9,16 +9,6 @@ public App()
protected override Window CreateWindow(IActivationState? activationState)
{
- // To test shell scenarios, change this to true
- bool useShell = false;
-
- if (!useShell)
- {
- return new Window(new NavigationPage(new MainPage()));
- }
- else
- {
- return new Window(new SandboxShell());
- }
+ return new Window(new AppFlyoutPage());
}
}
diff --git a/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml b/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml
new file mode 100644
index 000000000000..d43d0013bfc7
--- /dev/null
+++ b/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml.cs b/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml.cs
new file mode 100644
index 000000000000..a0fac3aae8ee
--- /dev/null
+++ b/src/Controls/samples/Controls.Sample.Sandbox/AppFlyoutPage.xaml.cs
@@ -0,0 +1,42 @@
+using Maui.Controls.Sample.Services;
+
+namespace Maui.Controls.Sample;
+
+public partial class AppFlyoutPage : FlyoutPage
+{
+ public class MenuItem
+ {
+ public string Title { get; set; } = string.Empty;
+ public Type PageType { get; set; } = typeof(Page);
+ }
+
+ public List