fix : binding sub 3 tags.count
continuous-integration/drone/push Build is passing Details

Popup_qui_marche_pas
Jade VAN BRABANDT 2 years ago
parent 69b961014c
commit e75de20c08

@ -17,7 +17,7 @@ namespace Model
_persistance = persistance;
Games.Add(new("Elden Ring", "description", 2010, new List<string> { "1","2","3"}, "elden_ring.jpg"));
Games.Add(new("Minecraft", "description", 2010, new List<string> { "1", "2", "3" }, "minecraft.jpeg"));
Games.Add(new("Celeste", "description", 2010, new List<string> { "1", "2", "3" }, "celeste.png"));
Games.Add(new("Celeste", "description", 2010, new List<string> { "1", "2" }, "celeste.png"));
Games.Add(new("GTA V", "description", 2010, new List<string> { "1", "2", "3" }, "gta_v.png"));
}
}

@ -27,7 +27,7 @@
<CollectionView.ItemTemplate>
<DataTemplate>
<Border MinimumWidthRequest="200" Margin="10, 10, 10, 10">
<Grid>
<Grid HeightRequest="1000">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
@ -52,7 +52,7 @@
</Grid.RowDefinitions>
<Label TextColor="White" FontSize="15" Margin="5" FontFamily="arial" Text="Tag :" Grid.Row="0"/>
<CollectionView ItemsSource="{Binding Tags}" SelectionMode="Single" ItemsLayout="HorizontalGrid, 3" Grid.Row="1" Grid.Column="0">
<CollectionView ItemsSource="{Binding Tags}" SelectionMode="Single" ItemsLayout="{Binding Tags.Count}" Grid.Row="1" Grid.Column="0">
<CollectionView.ItemTemplate>
<DataTemplate>
<Label TextColor="White" FontSize="15" Margin="5" FontFamily="arial" Text="{Binding}"/>

Loading…
Cancel
Save