0

I need to do this layout in my windows app (min 2 columns)

enter image description here

I've tried sync scroll in two ListView but it very laging. The most important, I need high performance with virtualization.

Any idea?

Konrad Piękoś
  • 164
  • 1
  • 9
  • I don't think this is a `ListView` control in your picture at all, do you need a synchronized listview or a waterfall layout? with a waterfall layout, the data virtualization may lost. – Grace Feng May 02 '16 at 02:01
  • I guess you can use VariableSizedWrapGrid here. refer this link https://marcominerva.wordpress.com/2013/05/28/variable-sized-items-with-gridview-control-for-windows-store-apps/ – Archana May 02 '16 at 04:38
  • Yes, i need something like this: https://github.com/chiahsien/CHTCollectionViewWaterfallLayout but I haven't found anything for Windows... VariableSizedWrapGrid doesn't use Virtualization and therefore doesn't solve my problem – Konrad Piękoś May 02 '16 at 11:37
  • I've solved my problem ;) I've used scrollviewer with my own virtualization https://github.com/sayler8182/VirtualizedVariableSizedWrapGrid – Konrad Piękoś May 03 '16 at 15:01

2 Answers2

2

With the lastest release the UWP Community Toolkit provides such a control. It's called StaggeredPanel.

An example can be found here.

Here is an example screenshot taken from the the UWP Community Toolkit: Here is an example from screenshoot taken from the the UWP Community Toolkit

COM8
  • 271
  • 1
  • 10
1

Not exactly sure about your requirement. But you may look into this solution Synchronized scrolling of two ScrollViewers whenever any one is scrolled in wpf

Community
  • 1
  • 1
Kiran Paul
  • 875
  • 6
  • 18