79144529

Date: 2024-10-31 11:35:43
Score: 2
Natty:
Report link

WPF controls that are able to bind to ObservableCollection already have this code as they keep the collection of controls displayed on screen in sync with the changes in ObservableCollection. Try looking ot "OnMapChanged" method here https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/ItemContainerGenerator.cs

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: ed22