Windowscommunitytoolkit: [Feature] Make WrapPanel be virtualized

Created on 23 Jan 2020  路  4Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

Describe the problem this feature would solve

WrapPanel is an insanely cool control. However, for a LOT of items, it's insanely slow. Like, for roughly 2000 items, even in release mode it sometimes takes roughly 10 seconds to load.

Describe the solution

We already have a VirtualizedPanel in UWP, I'm assuming we could derive from that?

In-PR feature request

Most helpful comment

I've started working on creating Layouts for the WrapPanel and the StaggeredPanel. These new Layouts will work with the new ItemsRepeater

All 4 comments

Thanks for submitting a new feature request! I've automatically added a vote 馃憤 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!

@jtorjo I believe the new recommendations are to use ItemsRepeater as a basis. We'll take a dependency on WinUI when we move the toolkit to WinUI3 (see #3106). At that point, we'll investigate re-writing some of the panels. I know @skendrot has an interest in this area as well.

@jtorjo I believe the new recommendations are to use ItemsRepeater as a basis. We'll take a dependency on WinUI when we move the toolkit to WinUI3 (see #3106). At that point, we'll investigate re-writing some of the panels. I know @skendrot has an interest in this area as well.

Thanks! Quick question: is there a WrapPanel control here on in WinUI that would be virtualized. Or any workaround so that I could use that?

I've started working on creating Layouts for the WrapPanel and the StaggeredPanel. These new Layouts will work with the new ItemsRepeater

Was this page helpful?
0 / 5 - 0 ratings