Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

VirtualizingPanel acts weird with many many Children

$
0
0

Hiho, im facing serious issues implementing a Horizontal VirtualizingPanel the right way. Virtualization works so far and items are positiones at the right positions but when i scroll though the items, some items start overlapping(for me at Item 671090) and the following Items start creating gaps between each other. This effect increases depending on the horizontal offset. I already tried to locate the Problem watching the itemposition in Debug but its all as it intends to be. Different Implementations found in the internet have the same problem. I tried the VirtualizingTilePanel Implementation provided by Dan Crevier and the StaggeredPanel described in "SAMS WPF Control Development unleashed". Both seem to have the same Problem when i add a lot of items.

Steps to reproduce: 

  1. Add for example 1000000 items for Virtualization.
  2. Scroll through Data
  3. Problem starts for me at item 671090(maybe depending on architecture?)

edit: Itemswidth is set to 100.0, Problem occurs at the same index for my colleagues

Any help would be really nice.

Thank you and greetings


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>