-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppShell.xaml
More file actions
89 lines (87 loc) · 3.21 KB
/
AppShell.xaml
File metadata and controls
89 lines (87 loc) · 3.21 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="BoolBnB_MAUI.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:CreateUpdate="clr-namespace:BoolBnB_MAUI.Pages.CreateUpdateHouse"
xmlns:Home="clr-namespace:BoolBnB_MAUI.Pages.Home"
xmlns:Homes="clr-namespace:BoolBnB_MAUI.Pages.Homes"
xmlns:Info="clr-namespace:BoolBnB_MAUI.Pages.Info"
xmlns:Login="clr-namespace:BoolBnB_MAUI.Pages.Login"
xmlns:Messages="clr-namespace:BoolBnB_MAUI.Pages.Messages"
xmlns:MyHouse="clr-namespace:BoolBnB_MAUI.Pages.MyHouse"
xmlns:MyHouses="clr-namespace:BoolBnB_MAUI.Pages.MyHouses"
xmlns:Settings="clr-namespace:BoolBnB_MAUI.Pages.Settings"
xmlns:local="clr-namespace:BoolBnB_MAUI"
Shell.BackgroundColor="{StaticResource Gray100}"
Shell.FlyoutBehavior="Flyout"
Shell.ForegroundColor="Black">
<ShellContent
ContentTemplate="{DataTemplate Homes:HomesPage}"
Route="HomesPage"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.NavBarIsVisible="False" />
<ShellContent
ContentTemplate="{DataTemplate Login:LoginPage}"
Route="LoginPage"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.NavBarIsVisible="False" />
<ShellContent
ContentTemplate="{DataTemplate Home:HomePage}"
Route="HomePage"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.NavBarIsVisible="False" />
<ShellContent
Title="Create House"
ContentTemplate="{DataTemplate CreateUpdate:CreateUpdateHousePage}"
Route="CreateHousePage"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.NavBarIsVisible="False" />
<ShellContent
Title="My House"
ContentTemplate="{DataTemplate MyHouse:MyHousePage}"
Route="MyHousePage"
Shell.FlyoutBehavior="Disabled"
Shell.FlyoutItemIsVisible="False"
Shell.NavBarIsVisible="False" />
<FlyoutItem Title="My houses">
<ShellContent
Title="My Houses"
ContentTemplate="{DataTemplate MyHouses:MyHousesPage}"
Route="MyHousesPage" />
</FlyoutItem>
<FlyoutItem Title="Messages">
<ShellContent
Title="Messages"
ContentTemplate="{DataTemplate Messages:MessagesPage}"
Route="MessagesPage" />
</FlyoutItem>
<FlyoutItem Title="Info">
<ShellContent
Title="Info"
ContentTemplate="{DataTemplate Info:InfoPage}"
Route="InfoPage" />
</FlyoutItem>
<FlyoutItem Title="Settings">
<ShellContent
Title="Settings"
ContentTemplate="{DataTemplate Settings:SettingsPage}"
Route="SettingsPage" />
</FlyoutItem>
<Shell.FlyoutFooter>
<StackLayout>
<Button
Margin="0,0,0,30"
BackgroundColor="White"
Clicked="Logout"
FontAttributes="Bold"
FontSize="18"
Text="Esci"
TextColor="Red" />
</StackLayout>
</Shell.FlyoutFooter>
</Shell>