From c13bcb1ffa21d99a52dae011b43a15d26fca76a2 Mon Sep 17 00:00:00 2001 From: lobroda Date: Wed, 18 Oct 2023 20:01:50 +0100 Subject: [PATCH] ADD : Order Books By Author, Loaner or Owner & Status in different pages (Header Style ToFix) --- LivreLand/View/DetailsLivreView.xaml | 40 ++++++++-------- LivreLand/View/EmpruntsPretsView.xaml | 54 +++++++++++++++++++-- LivreLand/View/StatutLectureView.xaml | 8 ++-- LivreLand/View/TousView.xaml | 7 +-- ViewModels/BookVM.cs | 10 +--- ViewModels/ManagerVM.cs | 69 ++++++++++++++++++++++++--- 6 files changed, 141 insertions(+), 47 deletions(-) diff --git a/LivreLand/View/DetailsLivreView.xaml b/LivreLand/View/DetailsLivreView.xaml index 2e3ff4c..a52fbee 100644 --- a/LivreLand/View/DetailsLivreView.xaml +++ b/LivreLand/View/DetailsLivreView.xaml @@ -125,7 +125,7 @@ @@ -145,26 +145,24 @@ Style="{StaticResource DetailsLivreTitle}" Grid.Row="0"/> - - - - - - - - - - - - - - diff --git a/LivreLand/View/EmpruntsPretsView.xaml b/LivreLand/View/EmpruntsPretsView.xaml index 630c038..60ea73a 100644 --- a/LivreLand/View/EmpruntsPretsView.xaml +++ b/LivreLand/View/EmpruntsPretsView.xaml @@ -32,12 +32,35 @@ EmpruntsButtonCommand="{Binding EmpruntsPretsVM.EmpruntsButtonCommand}"/> - + IsVisible="{Binding EmpruntsPretsVM.PretCollectionIsVisible}" + IsGrouped="True"> + + + + + + + + + + + + - + IsVisible="{Binding EmpruntsPretsVM.EmpruntCollectionIsVisible}" + IsGrouped="True"> + + + + + + + + + + + + - - + @@ -41,8 +42,7 @@ - -