Does anyone know of a ListView implementation that support UI Virtualization when grouping is enabled? By default the VirtualizingStackPanel is disabled when grouping is setup.
It seems that Microsoft is not going to implement this within v4.0 of the .NET Framework so I am look for alternate solutions.
I have located a sample at Grouping and Virtualization MSDN Code Sample that converts the grouped ListView into a flat list which supports virtualization. However I can't work out how to imitate the expanding actions of the headers.
wpf/.net 4.5 now supports this https://msdn.microsoft.com/en-us/library/system.windows.controls.virtualizingpanel.isvirtualizingwhengrouping(v=vs.110).aspx
If you are still targeting 4.0 you can set it with reflection so at least some users can get the benefit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With