Statistiques
| Branche: | Révision:

sicpaconnexions / SICPA_Connexions / AppShell.xaml @ 03682d21

Historique | Voir | Annoter | Télécharger (1,419 ko)

1 87e7d061 ajournaux
<?xml version="1.0" encoding="UTF-8" ?>
2
<Shell
3
    x:Class="SICPA_Connexions.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:SICPA_Connexions.View"
7
    Shell.FlyoutBehavior="Flyout">
8
    
9
10
        <ShellContent
11
            Title="Animal"
12
            Icon="goat.svg"
13
            FlyoutIcon="goat.svg"
14
            ContentTemplate="{DataTemplate local:AnimalView}"
15
            Route="VivantView"/>
16
    
17
        <ShellContent
18
            Title="Paramètres"
19
            Icon="parameter.svg"
20
            FlyoutIcon="parameter.svg"
21
            ContentTemplate="{DataTemplate local:SettingsView}"
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>