juniorWPF
What is ObservableCollection in WPF?
Updated May 6, 2026
Short answer
ObservableCollection automatically notifies UI when items change.
Deep explanation
It implements INotifyCollectionChanged to update UI on add/remove operations.
Real-world example
Dynamic lists like shopping carts.
Common mistakes
- Using List instead of ObservableCollection.
Follow-up questions
- Does it notify on item property changes?