Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need guidance on implementing VirtualizingLayout #54

Open
michael-hawker opened this issue Aug 3, 2021 · 0 comments
Open

Need guidance on implementing VirtualizingLayout #54

michael-hawker opened this issue Aug 3, 2021 · 0 comments
Assignees
Labels
Pri1 Topic is in the top 25% of page views for the repo or was first published in the preceding 45 days. reunion/prod winui-reference/tech

Comments

@michael-hawker
Copy link

There's a lot of guidance in the general ItemsRepeater guidance about using ItemsRepeater and how the lifecycle of elements works. As well as using different layouts.

However, there's not a section akin to the Custom Panel docs about how to create your own VirtualizingLayout algorithm/implementation.

I know it's not the same as Panel is as there's a convention about returning/measuring/arranging items that are only within the viewport.

Having this documented for ease of creating new types of layouts in the future would be great.

Thanks!

(I know we did a couple of layouts in the Toolkit, but I also know the developer who wrote them, @skendrot, reached out and got a lot of this info from the WinUI team to do so.)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@PRMerger18 PRMerger18 added Pri1 Topic is in the top 25% of page views for the repo or was first published in the preceding 45 days. reunion/prod winui-reference/tech labels Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri1 Topic is in the top 25% of page views for the repo or was first published in the preceding 45 days. reunion/prod winui-reference/tech
Projects
None yet
Development

No branches or pull requests

4 participants