Révision 18f910c6 GES_PAC/AppShell.xaml

Voir les différences:

GES_PAC/AppShell.xaml
4 4
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
5 5
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6 6
    xmlns:local="clr-namespace:GES_PAC.View"
7
    xmlns:vm="clr-namespace:GES_PAC.ViewModel"
7 8
    Shell.FlyoutBehavior="Flyout"
9
    x:DataType="vm:AppShellViewModel"
8 10
    Title="GES_PAC">
9 11
    
10 12
    <ShellContent 
......
12 14
        Route="Main"
13 15
        ContentTemplate="{DataTemplate local:MainView}" />
14 16

  
17
    <ShellContent 
18
        Title="Créer technicien" 
19
        Route="CreatePerson"
20
        ContentTemplate="{DataTemplate local:CreatePersonView}" />
21

  
22
    <ShellContent 
23
        Title="Créer élevage" 
24
        Route="CreatePlace"
25
        ContentTemplate="{DataTemplate local:CreatePlaceView}" />
26

  
27
    <Shell.FlyoutFooter>
28
        <Grid Padding="10" ColumnDefinitions="auto,auto">
29
            <Grid.GestureRecognizers>
30
                <TapGestureRecognizer Command="{Binding QuitterCommand}"/>
31
            </Grid.GestureRecognizers>
32
            <Image Grid.Column="0" Source="exit.png" HeightRequest="24" Margin="10,0,20,10"/>
33
            <Label Grid.Column="1" Text="Quitter" />
34
        </Grid>
35
    </Shell.FlyoutFooter>
36

  
15 37
</Shell>

Formats disponibles : Unified diff