Nouveau header collection view
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
a80e43f9f9
commit
d5d25d0453
@ -1,55 +1,55 @@
|
||||
<?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="Ohara.PageFavoris"
|
||||
Title="PageFavoris"
|
||||
BackgroundColor="#e2edf1">
|
||||
|
||||
<CollectionView x:Name="listeFavs" SelectionMode="Single" SelectionChanged="listeFavs_SelectionChanged">
|
||||
<CollectionView.ItemsLayout>
|
||||
<GridItemsLayout Orientation="Vertical" Span="4" HorizontalItemSpacing="15" VerticalItemSpacing="15"/>
|
||||
</CollectionView.ItemsLayout>
|
||||
<CollectionView.Header>
|
||||
<HorizontalStackLayout BackgroundColor="#72a3b3" Padding="10" Spacing="80">
|
||||
<SearchBar Placeholder="Rechercher..." BackgroundColor="#bfe5ef" WidthRequest="200"/>
|
||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef">
|
||||
<Label Text="Filtrer" HorizontalTextAlignment="Center" />
|
||||
</Frame>
|
||||
|
||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" >
|
||||
<Label Text="Trier" HorizontalTextAlignment="Center" />
|
||||
</Frame>
|
||||
<?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="Ohara.PageFavoris"
|
||||
Title="PageFavoris"
|
||||
BackgroundColor="#e2edf1">
|
||||
|
||||
<CollectionView x:Name="listeFavs" SelectionMode="Single" SelectionChanged="listeFavs_SelectionChanged">
|
||||
<CollectionView.ItemsLayout>
|
||||
<GridItemsLayout Orientation="Vertical" Span="4" HorizontalItemSpacing="15" VerticalItemSpacing="15"/>
|
||||
</CollectionView.ItemsLayout>
|
||||
<CollectionView.Header>
|
||||
<Grid ColumnDefinitions="200,*,100,10,100" BackgroundColor="#72a3b3" Padding="10">
|
||||
<SearchBar x:Name="searchBar" Placeholder="Rechercher..." BackgroundColor="#bfe5ef" Grid.Column="0"/>
|
||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="2">
|
||||
<Label Text="Filtrer" HorizontalTextAlignment="Center" />
|
||||
</Frame>
|
||||
|
||||
<Frame CornerRadius="20" BackgroundColor="#bfe5ef" BorderColor="#bfe5ef" Grid.Column="4">
|
||||
<Label Text="Trier" HorizontalTextAlignment="Center" />
|
||||
</Frame>
|
||||
|
||||
</HorizontalStackLayout>
|
||||
</CollectionView.Header>
|
||||
<CollectionView.ItemTemplate>
|
||||
|
||||
<DataTemplate>
|
||||
|
||||
|
||||
<Frame Style="{StaticResource frameObjet}">
|
||||
<StackLayout Orientation="Vertical" Padding="5">
|
||||
<Image
|
||||
Source="{Binding Image}"
|
||||
HeightRequest="290"
|
||||
WidthRequest="290" />
|
||||
|
||||
<Label
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Start"
|
||||
HorizontalTextAlignment="Center"
|
||||
Text="{Binding Nom}"
|
||||
|
||||
FontSize="19"
|
||||
TextColor="#72a3b3"
|
||||
FontAttributes="Bold" />
|
||||
</StackLayout>
|
||||
</Frame>
|
||||
|
||||
|
||||
|
||||
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
</Grid>
|
||||
</CollectionView.Header>
|
||||
<CollectionView.ItemTemplate>
|
||||
|
||||
<DataTemplate>
|
||||
|
||||
|
||||
<Frame Style="{StaticResource frameObjet}">
|
||||
<StackLayout Orientation="Vertical" Padding="5">
|
||||
<Image
|
||||
Source="{Binding Image}"
|
||||
HeightRequest="290"
|
||||
WidthRequest="290" />
|
||||
|
||||
<Label
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Start"
|
||||
HorizontalTextAlignment="Center"
|
||||
Text="{Binding Nom}"
|
||||
|
||||
FontSize="19"
|
||||
TextColor="#72a3b3"
|
||||
FontAttributes="Bold" />
|
||||
</StackLayout>
|
||||
</Frame>
|
||||
|
||||
|
||||
|
||||
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
</ContentPage>
|
Loading…
Reference in new issue