In addition, I recently had this experience in a more complex example.
spinning:
I tried clearing the font cache and it did nothing for my hanging application, but YMMV. Nevertheless, it seems harmless.
I also tried NGEN'ing the entire framework, but this did not solve the problem.
DECISION:
In my MVVM application, I have an ItemsControl element (general, not a real ListBox) on a complex control that has been removed from a tab. The ItemsControl element represented about 14 rows of data consisting of user controls tied to a small collection that itself was surrounded by a ScrollViewer. With ScrollViewer, the selected computers will tremble and get stuck endlessly. Commenting on Xaml, the application looked completely normal, which largely eliminated problems in the backup ViewModel.
Removing the surrounding ScrollViewer fixed the problem, and in any case, it was not really necessary. I suspect that the real problem is hiding in some style, but to be honest, there was no time or patience to investigate further ...
Fragment
<ItemsControl Grid.Row="7" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Name="FileSettingsList" ItemsSource="{Binding MigratorFiles.FilesCollection}" BorderThickness="2" HorizontalContentAlignment="Left" Template="{StaticResource FileNameSettingsItemsControlTemplate}" ItemsPanel="{StaticResource FileNameSettingsItemsPanelTemplate}" ItemTemplate="{StaticResource FileNameSettingsItemDataTemplate}" > </ItemsControl>
source share