|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
|
|
|
xmlns:vm="clr-namespace:BookApp.ViewModel"
|
|
|
|
|
xmlns:usecase="clr-namespace:BookApp.UseCase"
|
|
|
|
|
x:Name="ThisPage"
|
|
|
|
|
x:Class="BookApp.Pages.DetailBook">
|
|
|
|
|
|
|
|
|
@ -49,6 +50,13 @@
|
|
|
|
|
Grid.Column="1" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Shell.TitleView>
|
|
|
|
|
|
|
|
|
|
<ContentView.Resources>
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
<usecase:AuthorsListToStringConverter x:Key="authorsConverter"/>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</ContentView.Resources>
|
|
|
|
|
|
|
|
|
|
<ContentPage.Content>
|
|
|
|
|
<ScrollView>
|
|
|
|
|
<StackLayout>
|
|
|
|
@ -85,7 +93,7 @@
|
|
|
|
|
</Grid>
|
|
|
|
|
<Rectangle Margin="25,0,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End"/>
|
|
|
|
|
<Label FontAttributes="Bold" Margin="25,0,0,0" VerticalTextAlignment="Center" Text="Auteur"/>
|
|
|
|
|
<Label Margin="25,0,0,0" VerticalTextAlignment="Center" Text="{Binding BookDetail.Authors}"/>
|
|
|
|
|
<Label Margin="25,0,0,0" VerticalTextAlignment="Center" Text="{Binding BookDetail.Authors, Converter={StaticResource authorsConverter}}"/>
|
|
|
|
|
<Rectangle Margin="25,10,0,10" HeightRequest="1" BackgroundColor="LightGray" VerticalOptions="End"/>
|
|
|
|
|
<Label FontAttributes="Bold" Margin="25,0,0,0" VerticalTextAlignment="Center" Text="Maison d'édition"/>
|
|
|
|
|
<Label Margin="25,0,0,0" VerticalTextAlignment="Center" Text="{Binding BookDetail.Authors}"/>
|
|
|
|
|