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.
65 lines
2.5 KiB
65 lines
2.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"
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
xmlns:composants="clr-namespace:BookApp.Composants"
|
|
xmlns:model="clr-namespace:Model;assembly=Model"
|
|
xmlns:vm="clr-namespace:BookApp.ViewModel"
|
|
xmlns:vmw="clr-namespace:VMWrapper;assembly=VMWrapper"
|
|
x:Class="BookApp.Pages.Filtrage">
|
|
<Shell.BackButtonBehavior>
|
|
<BackButtonBehavior IsVisible="False" IsEnabled="False"/>
|
|
</Shell.BackButtonBehavior>
|
|
<Shell.TitleView>
|
|
<Grid RowDefinitions="Auto" VerticalOptions="Center">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<HorizontalStackLayout Grid.Column="0">
|
|
<Image
|
|
Source="Chevron_left.svg"
|
|
HorizontalOptions="Start">
|
|
<Image.GestureRecognizers>
|
|
<TapGestureRecognizer
|
|
Command="{Binding VMNav.BackButtonCommand}"
|
|
NumberOfTapsRequired="1" />
|
|
</Image.GestureRecognizers>
|
|
<Image.Behaviors>
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
</Image.Behaviors>
|
|
</Image>
|
|
</HorizontalStackLayout>
|
|
|
|
<Label
|
|
Text="{Binding VMNav.SelectedItem.Name}"
|
|
FontFamily="Strande2"
|
|
TextColor="Black"
|
|
FontSize="Medium"
|
|
VerticalTextAlignment="Center"
|
|
HorizontalOptions="Center"
|
|
Grid.Column="1" />
|
|
|
|
<HorizontalStackLayout Grid.Column="2">
|
|
<Image
|
|
Source="arrow_up_arrow_down.svg"
|
|
HorizontalOptions="End"
|
|
Margin="0,0,10,0"
|
|
Grid.Column="2">
|
|
<Image.Behaviors>
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
</Image.Behaviors>
|
|
</Image>
|
|
</HorizontalStackLayout>
|
|
</Grid>
|
|
</Shell.TitleView>
|
|
<ContentPage.Content>
|
|
<StackLayout>
|
|
<Rectangle HeightRequest="1" BackgroundColor="LightGray"/>
|
|
<SearchBar Placeholder="Search items..."/>
|
|
<composants:CollectionFiltrage/>
|
|
</StackLayout>
|
|
</ContentPage.Content>
|
|
</ContentPage> |