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.
mastermind/Sources/MauiSpark/Vues/PartieCommenceeVue.xaml

33 lines
1.5 KiB

<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Name="partieCommenceeVue"
x:Class="MauiSpark.Vues.PartieCommenceeVue">
<Border
StrokeThickness="2"
StrokeShape="RoundRectangle 10">
<Grid RowDefinitions="*, *, *" ColumnDefinitions="*" Margin="20">
<Label Text="{Binding NomRegles, Source={x:Reference partieCommenceeVue}}" FontSize="Large" Margin="0, 0, 0, 20"/>
<Grid Grid.Row="1" RowDefinitions="*, *" Margin="0, 0, 0, 20">
<Label Grid.Row="0" Text="{Binding NombreJoueurs, Source={x:Reference partieCommenceeVue}}" FontSize="Medium"/>
<Label Grid.Row="1" Text="{Binding TourActuel, Source={x:Reference partieCommenceeVue}}" FontSize="Medium"/>
</Grid>
<StackLayout Grid.Row="3" BindableLayout.ItemsSource="{Binding Joueurs, Source={x:Reference partieCommenceeVue}}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<Label Text="{Binding .}" FontSize="Medium"/>
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout>
<Grid.GestureRecognizers>
<TapGestureRecognizer Tapped="PartiePressee"/>
</Grid.GestureRecognizers>
</Grid>
</Border>
</ContentView>