Statistiques
| Branche: | Révision:

root / GES_PAC / AppShell.xaml @ 9601eaf0

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

1
<?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
    xmlns:vm="clr-namespace:GES_PAC.ViewModel"
8
    Shell.FlyoutBehavior="Flyout"
9
    x:DataType="vm:AppShellViewModel"
10
    Title="GES_PAC">
11

    
12

    
13
    <!-- 
14
    <ShellContent 
15
    Title="Accueil" 
16
    Route="Main"
17
    ContentTemplate="{DataTemplate local:MainView}" />
18
    -->
19

    
20
    <ShellContent 
21
        Title="Remorque" 
22
        Route="Chambers"
23
        ContentTemplate="{DataTemplate local:ChambersView}" />
24

    
25
    <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
</Shell>