Statistiques
| Branche: | Révision:

root / GES_PAC / AppShell.xaml @ 42456640

Historique | Voir | Annoter | Télécharger (1,329 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
    <ShellContent 
14
    Title="Accueil" 
15
    Route="Main"
16
    ContentTemplate="{DataTemplate local:MainView}" />
17
18 65ad7e66 Lucas Bihannic
    <ShellContent 
19 42456640 lbihannic
        Title="Remorque" 
20
        Route="Chambers"
21
        ContentTemplate="{DataTemplate local:ChambersView}" />
22 65ad7e66 Lucas Bihannic
23 18f910c6 Lucas Bihannic
    <ShellContent 
24
        Title="Créer technicien" 
25
        Route="CreatePerson"
26
        ContentTemplate="{DataTemplate local:CreatePersonView}" />
27
28
    <ShellContent 
29
        Title="Créer élevage" 
30
        Route="CreatePlace"
31
        ContentTemplate="{DataTemplate local:CreatePlaceView}" />
32
33
    <Shell.FlyoutFooter>
34
        <Grid Padding="10" ColumnDefinitions="auto,auto">
35
            <Grid.GestureRecognizers>
36
                <TapGestureRecognizer Command="{Binding QuitterCommand}"/>
37
            </Grid.GestureRecognizers>
38
            <Image Grid.Column="0" Source="exit.png" HeightRequest="24" Margin="10,0,20,10"/>
39
            <Label Grid.Column="1" Text="Quitter" />
40
        </Grid>
41
    </Shell.FlyoutFooter>
42
43 65ad7e66 Lucas Bihannic
</Shell>