sbaeumlisberger / VirtualizingWrapPanel

Implementation of a comprehensive VirtualisingWrapPanel for WPF
MIT License
242 stars 33 forks source link

Randomize item width/height to show VWP not working #21

Closed nietras closed 2 years ago

nietras commented 3 years ago

This PR is mainly to show an issue with the VirtualizingWrapPanel not working for different sized items. This is an essential feature for our use case so I am hoping this can be resolved. I understand this is a non-trivial issue though, I have tried to read the 13k lines of WrapPanel reference source code to gain insight and to see if other VWP implementations could be fixed. But have yet to find a fully functional VWP.

WrapPanel image

VirtualizingWrapPanel image

sbaeumlisberger commented 3 years ago

This is not a bug, it is simply not supported at the moment. This is also stated in the documentation.

I have created an issue (https://github.com/sbaeumlisberger/VirtualizingWrapPanel/issues/22) for this feature request, so any progress on this topic can be tracked. Currently there are only a few ideas how this could be implemented. So at first a prove of concept must be done.

I would like to have this feature for the version 2.0. But unfortunately I don't have much time to work on this project, so I can't give you an estimate for a release date.

nietras commented 3 years ago

Thanks for the reply. It would be nice if this was clearly mentioned in README, instead of class doc.

In order to work properly all items must have the same size.