debut page tableau score

master
camille 1 year ago
parent 4b4ca3a308
commit dd79527308

@ -4,12 +4,17 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:mastermind"
Shell.FlyoutBehavior="Disabled"
xmlns:pages="clr-namespace:mastermind.Pages"
Shell.FlyoutBehavior="Flyout"
Title="mastermind">
<TabBar>
<ShellContent
Title="Home"
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage" />
<ShellContent
Title="TableauScore"
ContentTemplate="{DataTemplate pages:TableauScore}"
Route="Pages.TableauScore" />
</TabBar>
</Shell>

@ -0,0 +1,21 @@
<?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="mastermind.Pages.TableauScore"
Title="TableauScore">
<VerticalStackLayout>
<Grid ColumnDefinitions="auto,*,auto">
<Image Source="stare.png" />
<Label
Text="Tableaux des scores"
FontSize="50"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Label />
</Grid>
<Rectangle HeightRequest="500" WidthRequest="500" Fill="Blue" Stroke="Red"></Rectangle>
</VerticalStackLayout>
</ContentPage>

@ -0,0 +1,9 @@
namespace mastermind.Pages;
public partial class TableauScore : ContentPage
{
public TableauScore()
{
InitializeComponent();
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@ -62,4 +62,16 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Pages\tableauScore.xaml.cs">
<DependentUpon>TableauScore.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<MauiXaml Update="Pages\TableauScore.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>
</Project>

Loading…
Cancel
Save