🚧 Debut de la page Board
continuous-integration/drone/push Build is passing Details

pull/96/head
Lucas DUFLOT 11 months ago
parent af6e9ec71c
commit b4f27e8b0b

@ -34,9 +34,9 @@
ContentTemplate="{DataTemplate views:PageSelectMap}"
Route="PageSelectMap"/>
<!--<ShellContent
Title="Plateau"
ContentTemplate="{DataTemplate views:PagePlateau}"
Route="Plateau"/>-->
<ShellContent
Title="Board"
ContentTemplate="{DataTemplate views:PageBoard}"
Route="Board"/>
</Shell>

@ -84,6 +84,9 @@
<MauiXaml Update="Views\Components\ContentLeaderBoard.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\PageBoard.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\PageLeaderBoard.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>

@ -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="Trek_12.Views.PageBoard"
Title="Board">
<Grid RowDefinitions="*,auto">
<Grid ColumnDefinitions="*,auto">
<CollectionView ItemsSource="{Binding ListMap.OperationGrid}"
ItemsLayout="HorizontalGrid,4"
Grid.Column="1">
<CollectionView.ItemTemplate>
<DataTemplate>
<VerticalStackLayout>
<Label Text="{Binding IsChecked}"/>
</VerticalStackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</Grid>
</Grid>
</ContentPage>

@ -0,0 +1,13 @@
namespace Trek_12.Views;
using Stub;
public partial class PageBoard : ContentPage
{
public Stub MyStub { get; set; } = new Stub();
public PageBoard()
{
InitializeComponent();
BindingContext = MyStub;
}
}
Loading…
Cancel
Save