MultiBinding with MultiValueConverter does not update

后端 未结 2 775
既然无缘
既然无缘 2021-01-05 01:30

it seems that I have a problem with my multibinding.

Scenario:
I have a window with two datepickers and a listview. The listliew contains some data bound element

2条回答
  •  Happy的楠姐
    2021-01-05 01:45

    After searching for hours, I find a simple and decent answer ! Since ObservableCollection doesn't raise PropertyChanged event but CollectionChanged, we just have to bind the collection's Count to fire the event when the list changes :

    
        
        
    
    

    Original infos about this perfectly working multibinding here : https://stackoverflow.com/a/10884002/817504

提交回复
热议问题