last day (15 days later) » 

10:19 AM
1
A: Bind checkboxes in listview MVVM

Arnaud Develayyou need to implement INotifyPropertyChanged on your class ServiceItem otherwise you will never raise any event when the value is updated. Here is the code of my view. I have added a converter to display the cost only when items are selected: <Page x:Class="App4.CheckBoxPage" xmlns="htt...

 
I have Inotifypropertychanged on my interface IViewModel.Let me add it for completeness @Amaud
 
Yes, but you still need to implement INotifyPropertyChanged on classes used by your ViewModel.
 
the ServicesPageViewModel implements ViewModel which implements IViewModel which implements INotifyPropertyChanged
 
Yes, but it is not enough. For example, check this model class: github.com/mbrit/ProgrammingWindowsStoreApps/blob/master/… . It extends ModelItem class so as to implement INotifyPropertyChanged for the following properties : Description and Active. I have updated my ServiceItem class in my answer to use your model classes. For example, Active property is declared as public bool Active { get { return this.GetValue<bool>(); } internal set { this.SetValue(value); } }
 
@Amaud thanks for your patience.The visibility is working on the checked item but the curious thing is it doesn't stay checked.That's why I never noticed if it was working.Any idea why?
 
10:19 AM
No, I have not reproduced this issue. Sorry :(
 
alright then
thanks
I will keep searching
 
10:41 AM
@GotaloveCode Did you try to remove all commands on your ViewModel and verify the display of view ?
 
11:21 AM
@ArnaudDevelay haven't tried that
let me try
No difference @ArnaudDevelay still sets visibility but doesn't stay checked
 
That's strange
 
do you have skype for business? @ArnaudDevelay or teamviewer?
 
skype yes
 
normal skype or skype for business?
I could present my screen
 
for business
yes let's see
 
11:34 AM
awesome
let me give you my id
Martin.Iriga@masterpiecenet.co.ke
 
I have send some messages; Did you see them ?
I'm not sure that my IT departement allows external communications.
 
sorry a minute
try noow
mine was off
 

  last day (15 days later) »