ComboBox virtualization not working with theme


I have a ComboBox bound to the installed fonts, and use a custom item template to render each item in the corresponding font. If there are a lot of fonts installed, this menu takes a seriously long time to load without virtualization. With virtualization it is very manageable. Unfortunately, since I installed Expression Dark, virtualization seems to have been broken and the menu takes ages, even though it worked fine before.


chaiguy wrote Aug 10, 2010 at 3:32 AM

Actually it turns out this is incredibly easy to solve: just change the StackPanel inside the ComboBoxTemplate definition to a VirtualizingStackPanel and bingo. :)

wrote Feb 22, 2013 at 1:09 AM