You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ParionsCuites/ParionsCuite/ParionsCuite/MainPage.xaml

76 lines
3.1 KiB

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ParionsCuite.MainPage"
xmlns:views="clr-namespace:ParionsCuite.Views"
xmlns:participation="clr-namespace:ParionsCuite.Views.Participations"
xmlns:invite="clr-namespace:ParionsCuite.Views.Invite"
xmlns:pari="clr-namespace:ParionsCuite.Views.Pari"
xmlns:info="clr-namespace:ParionsCuite.Views.Information"
xmlns:ajout="clr-namespace:ParionsCuite.Views.Ajout_Paris"
xmlns:boisson="clr-namespace:ParionsCuite.Views.Participations.Boisson"
xmlns:nourriture="clr-namespace:ParionsCuite.Views.Participations"
xmlns:autre="clr-namespace:ParionsCuite.Views.Participations.Autre"
>
<VerticalStackLayout>
<ScrollView>
<Grid>
<!-- Séparation de la page -->
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="10*" />
</Grid.ColumnDefinitions>
<!-- Première colonne -->
<Grid Grid.Column="0" BackgroundColor="LightGray">
<StackLayout>
<Button Text="Groupe 1"
VerticalOptions="Center"
HorizontalOptions="Center"/>
<Button Text="+"
VerticalOptions="Center"
HorizontalOptions="Center"/>
</StackLayout>
</Grid>
<!-- Deuxième colonne -->
<Grid Grid.Column="1">
<!-- Création de 2 lignes -->
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="800"/>
</Grid.RowDefinitions>
<!-- 1er ligne -->
<Grid Grid.Row="0" Margin="20,0,20,0" HorizontalOptions="Center" >
<HorizontalStackLayout>
<Button Text="Invité" Margin="0,0,20,0"/>
<Button Text="Participant" Grid.Column="1" Margin="0,0,20,0"/>
<Button Text="Pari" Grid.Column="2" BackgroundColor="Grey" Margin="0,0,20,0"/>
<Button Text="Information" Grid.Column="3" Margin="0,0,20,0" Clicked="VueInfo"/>
</HorizontalStackLayout>
</Grid>
<!-- 2e ligne -->
<Grid Grid.Row="1">
<ContentView>
<pari:Parier/>
</ContentView>
</Grid>
</Grid>
</Grid>
</ScrollView>
</VerticalStackLayout>
</ContentPage>