Statistiques
| Branche: | Révision:

root / GES_PAC / AppShell.xaml @ 957bebf1

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

1 65ad7e66 Lucas Bihannic
<?xml version="1.0" encoding="UTF-8" ?>
2
<Shell
3
    x:Class="GES_PAC.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:GES_PAC.View"
7 18f910c6 Lucas Bihannic
    xmlns:vm="clr-namespace:GES_PAC.ViewModel"
8 65ad7e66 Lucas Bihannic
    Shell.FlyoutBehavior="Flyout"
9 18f910c6 Lucas Bihannic
    x:DataType="vm:AppShellViewModel"
10 65ad7e66 Lucas Bihannic
    Title="GES_PAC">
11 42456640 lbihannic
12
13 957bebf1 lbihannic
    <!-- 
14 42456640 lbihannic
    <ShellContent 
15
    Title="Accueil" 
16
    Route="Main"
17
    ContentTemplate="{DataTemplate local:MainView}" />
18 957bebf1 lbihannic
    -->
19 42456640 lbihannic
20 65ad7e66 Lucas Bihannic
    <ShellContent 
21 42456640 lbihannic
        Title="Remorque" 
22
        Route="Chambers"
23
        ContentTemplate="{DataTemplate local:ChambersView}" />
24 65ad7e66 Lucas Bihannic
25 18f910c6 Lucas Bihannic
    <ShellContent 
26
        Title="Créer technicien" 
27
        Route="CreatePerson"
28
        ContentTemplate="{DataTemplate local:CreatePersonView}" />
29
30
    <ShellContent 
31
        Title="Créer élevage" 
32
        Route="CreatePlace"
33
        ContentTemplate="{DataTemplate local:CreatePlaceView}" />
34
35
    <Shell.FlyoutFooter>
36
        <Grid Padding="10" ColumnDefinitions="auto,auto">
37
            <Grid.GestureRecognizers>
38
                <TapGestureRecognizer Command="{Binding QuitterCommand}"/>
39
            </Grid.GestureRecognizers>
40
            <Image Grid.Column="0" Source="exit.png" HeightRequest="24" Margin="10,0,20,10"/>
41
            <Label Grid.Column="1" Text="Quitter" />
42
        </Grid>
43
    </Shell.FlyoutFooter>
44
45 65ad7e66 Lucas Bihannic
</Shell>