rfid-cb / CodeBarreRFID / AppShell.xaml @ 0f2b4298
Historique | Voir | Annoter | Télécharger (1,404 ko)
1 |
<?xml version="1.0" encoding="UTF-8" ?>
|
---|---|
2 |
<Shell
|
3 |
x:Class="CodeBarreRFID.AppShell" |
4 |
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
5 |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
6 |
xmlns:local="clr-namespace:CodeBarreRFID.View" |
7 |
Shell.FlyoutBehavior="Flyout"> |
8 |
|
9 |
|
10 |
<ShellContent
|
11 |
Title="Nouveau" |
12 |
Icon="sheep.svg" |
13 |
FlyoutIcon="sheep.svg" |
14 |
ContentTemplate="{DataTemplate local:AnimalView}" |
15 |
Route="VivantView"/> |
16 |
|
17 |
<ShellContent
|
18 |
Title="Liste" |
19 |
Icon="list_unordered.svg" |
20 |
FlyoutIcon="list_unordered.svg" |
21 |
ContentTemplate="{DataTemplate local:ListeAnimauxView}" |
22 |
Route="SettingsView" /> |
23 |
|
24 |
<ShellContent
|
25 |
Title="About" |
26 |
Icon="info.svg" |
27 |
FlyoutIcon="info.svg" |
28 |
ContentTemplate="{DataTemplate local:AboutView}" |
29 |
Route="AboutView" /> |
30 |
|
31 |
<Shell.FlyoutFooter>
|
32 |
<Grid Padding="10" ColumnDefinitions="auto,auto"> |
33 |
<Grid.GestureRecognizers>
|
34 |
<TapGestureRecognizer Command="{Binding QuitterCommand}"/> |
35 |
</Grid.GestureRecognizers>
|
36 |
<Image Grid.Column="0" Source="exit.png" HeightRequest="24" Margin="10,0,20,10"/> |
37 |
<Label Grid.Column="1" Text="Quitter" /> |
38 |
</Grid>
|
39 |
</Shell.FlyoutFooter>
|
40 |
|
41 |
</Shell>
|