FIX : Commands Working

TP3
Lou BRODA 1 year ago
parent af32502792
commit 43f6c8923d

@ -44,7 +44,7 @@
<CollectionView ItemsSource="{Binding ALirePlusTardVM.Manager.ToBeReadBooks}" <CollectionView ItemsSource="{Binding ALirePlusTardVM.Manager.ToBeReadBooks}"
SelectedItem="{Binding ALirePlusTardVM.Manager.SelectedBook}" SelectedItem="{Binding ALirePlusTardVM.Manager.SelectedBook}"
SelectionMode="Single" SelectionMode="Single"
SelectionChangedCommand="{Binding ALirePlusTardVM.OnSelectionChangedCommand}" SelectionChangedCommand="{Binding ALirePlusTardVM.SelectionChangedCommand}"
SelectionChangedCommandParameter="{Binding ALirePlusTardVM.Manager.SelectedBook}" SelectionChangedCommandParameter="{Binding ALirePlusTardVM.Manager.SelectedBook}"
Grid.Row="2"> Grid.Row="2">
<CollectionView.ItemTemplate> <CollectionView.ItemTemplate>

@ -35,7 +35,7 @@
<CollectionView ItemsSource="{Binding EmpruntsPretsVM.Manager.CurrentGroupedLoans}" <CollectionView ItemsSource="{Binding EmpruntsPretsVM.Manager.CurrentGroupedLoans}"
SelectedItem="{Binding EmpruntsPretsVM.Manager.SelectedLoan}" SelectedItem="{Binding EmpruntsPretsVM.Manager.SelectedLoan}"
SelectionMode="Single" SelectionMode="Single"
SelectionChangedCommand="{Binding EmpruntsPretsVM.OnSelectionLoanChangedCommand}" SelectionChangedCommand="{Binding EmpruntsPretsVM.SelectionLoanChangedCommand}"
SelectionChangedCommandParameter="{Binding EmpruntsPretsVM.Manager.SelectedLoan}" SelectionChangedCommandParameter="{Binding EmpruntsPretsVM.Manager.SelectedLoan}"
IsVisible="{Binding EmpruntsPretsVM.PretCollectionIsVisible}" IsVisible="{Binding EmpruntsPretsVM.PretCollectionIsVisible}"
IsGrouped="True"> IsGrouped="True">
@ -136,7 +136,7 @@
<CollectionView ItemsSource="{Binding EmpruntsPretsVM.Manager.CurrentGroupedBorrowings}" <CollectionView ItemsSource="{Binding EmpruntsPretsVM.Manager.CurrentGroupedBorrowings}"
SelectedItem="{Binding EmpruntsPretsVM.Manager.SelectedBorrowing}" SelectedItem="{Binding EmpruntsPretsVM.Manager.SelectedBorrowing}"
SelectionMode="Single" SelectionMode="Single"
SelectionChangedCommand="{Binding EmpruntsPretsVM.OnSelectionBorrowingChangedCommand}" SelectionChangedCommand="{Binding EmpruntsPretsVM.SelectionBorrowingChangedCommand}"
SelectionChangedCommandParameter="{Binding EmpruntsPretsVM.Manager.SelectedBorrowing}" SelectionChangedCommandParameter="{Binding EmpruntsPretsVM.Manager.SelectedBorrowing}"
IsVisible="{Binding EmpruntsPretsVM.EmpruntCollectionIsVisible}" IsVisible="{Binding EmpruntsPretsVM.EmpruntCollectionIsVisible}"
IsGrouped="True"> IsGrouped="True">

@ -29,7 +29,7 @@
<CollectionView ItemsSource="{Binding StatutLectureVM.Manager.GroupedStatusBooks}" <CollectionView ItemsSource="{Binding StatutLectureVM.Manager.GroupedStatusBooks}"
SelectedItem="{Binding StatutLectureVM.Manager.SelectedBook}" SelectedItem="{Binding StatutLectureVM.Manager.SelectedBook}"
SelectionMode="Single" SelectionMode="Single"
SelectionChangedCommand="{Binding StatutLectureVM.OnSelectionChangedCommand}" SelectionChangedCommand="{Binding StatutLectureVM.SelectionChangedCommand}"
SelectionChangedCommandParameter="{Binding StatutLectureVM.Manager.SelectedBook}" SelectionChangedCommandParameter="{Binding StatutLectureVM.Manager.SelectedBook}"
IsGrouped="True" IsGrouped="True"
Grid.Row="2"> Grid.Row="2">

@ -39,7 +39,7 @@
<CollectionView ItemsSource="{Binding TousVM.Manager.GroupedBooks}" <CollectionView ItemsSource="{Binding TousVM.Manager.GroupedBooks}"
SelectedItem="{Binding TousVM.Manager.SelectedBook}" SelectedItem="{Binding TousVM.Manager.SelectedBook}"
SelectionMode="Single" SelectionMode="Single"
SelectionChangedCommand="{Binding TousVM.OnSelectionChangedCommand}" SelectionChangedCommand="{Binding TousVM.SelectionChangedCommand}"
SelectionChangedCommandParameter="{Binding TousVM.Manager.SelectedBook}" SelectionChangedCommandParameter="{Binding TousVM.Manager.SelectedBook}"
IsGrouped="True" IsGrouped="True"
Grid.Row="2"> Grid.Row="2">

Loading…
Cancel
Save