KhaosCoders / wpf-kanban

A Kanban Board control for WPF
MIT License
19 stars 10 forks source link

System.NotImplementedException: 'Implement Add' #5

Closed KayOpper closed 3 years ago

KayOpper commented 3 years ago

Hi.

One more question. How can I update the ObservableCollection for the Card Data? May be I want to remove or add a card in the KanbanBoard at runtime. The ObservableCollection.Add methods only works at initialization. If I do the same at runtime, I will get the NotImplementedException. I can help myself be assigning a new ObservableCollection to the KanbanBoard with PropertyChanged. Is this standard or do I make something wrong? All other things work very well.

I found this here but it did not help me: https://www.reddit.com/r/csharp/comments/idkpb1/systemnotimplementedexception_implement_add/

Thank you

Khaos66 commented 3 years ago

Thank you for pointing this out! It was a bug on my side ;) You did everything right. I update the sample and release a fixed version in the next few minutes

KayOpper commented 3 years ago

Yes. Now it works. Thank you.