-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathAppShell.xaml
More file actions
28 lines (22 loc) · 1.02 KB
/
Copy pathAppShell.xaml
File metadata and controls
28 lines (22 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="SimpleLoginUI.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:SimpleLoginUI"
xmlns:dashboardPages="clr-namespace:SimpleLoginUI.Views.Dashboard"
xmlns:models="clr-namespace:SimpleLoginUI.Models"
Shell.TabBarIsVisible="False"
xmlns:startupPages="clr-namespace:SimpleLoginUI.Views.Startup">
<ShellContent FlyoutItemIsVisible="False" Shell.FlyoutBehavior="Disabled"
ContentTemplate="{DataTemplate startupPages:LoadingPage}" Route="LoadingPage" />
<ShellContent
Title="Login Page" FlyoutItemIsVisible="False" Shell.FlyoutBehavior="Disabled"
ContentTemplate="{DataTemplate startupPages:LoginPage}"
Route="LoginPage" />
<Shell.FlyoutFooter>
<StackLayout Padding="20">
<Button Text="Sign Out" Command="{Binding SignOutCommand}" />
</StackLayout>
</Shell.FlyoutFooter>
</Shell>