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/Pages/VictoirePage.xaml

42 lines
1.5 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="MauiSpark.Pages.VictoirePage"
xmlns:pages="clr-namespace:MauiSpark.Pages"
xmlns:vues="clr-namespace:MauiSpark.Vues"
x:Name="victoirePage"
Title="VictoirePage">
<Grid
ColumnDefinitions="*"
RowDefinitions="*, auto, *">
<Grid
ColumnDefinitions="*, *, *"
RowDefinitions="*">
<vues:ImageResultatVue Image="{Binding Source={x:Reference victoirePage}, Path=BindingContext.Image}" HorizontalOptions="Center" VerticalOptions="Center"/>
<vues:TitreVue Texte="{Binding Source={x:Reference victoirePage}, Path=BindingContext.Titre}" Grid.Column="1" VerticalOptions="Center"/>
<vues:ImageResultatVue Image="{Binding Source={x:Reference victoirePage}, Path=BindingContext.Image}" Grid.Column="2" HorizontalOptions="Center" VerticalOptions="Center"/>
</Grid>
<Border
Grid.Row="1"
StrokeThickness="2"
StrokeShape="RoundRectangle 10"
Margin="20"
Padding="20">
<Label FontSize="Large" HorizontalOptions="Center" Text="{Binding Texte}"/>
</Border>
<Button
Grid.Row="2"
Text="Menu"
VerticalOptions="Center"
Margin="0, 50"
Clicked="QuandMenuPresse"/>
</Grid>
</ContentPage>