-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAppShell.xaml
45 lines (41 loc) · 1.36 KB
/
AppShell.xaml
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
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="RestaurantPOS.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:RestaurantPOS"
xmlns:pages="clr-namespace:RestaurantPOS.Pages"
Title="Restaurant POS"
Shell.FlyoutBackgroundColor="Wheat"
Shell.FlyoutBehavior="Locked"
Shell.FlyoutWidth="60">
<ShellContent
Title="Home"
ContentTemplate="{DataTemplate pages:MainPage}"
Icon="home.png"
Route="MainPage" />
<ShellContent
Title="Orders"
ContentTemplate="{DataTemplate pages:OrdersPage}"
Icon="list.png"
Route="OrdersPage" />
<ShellContent
Title="Manage Menu"
ContentTemplate="{DataTemplate pages:ManageMenuItemPage}"
Icon="grid.png"
Route="ManageMenuItemPage" />
<Shell.FlyoutFooter>
<Image
Margin="0,0,0,25"
Aspect="AspectFit"
HeightRequest="20"
HorizontalOptions="Center"
Source="envelope.png"
ToolTipProperties.Text="Support"
WidthRequest="20">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" />
</Image.GestureRecognizers>
</Image>
</Shell.FlyoutFooter>
</Shell>