ListView control overflows when it contains a large number of items
Describe the bug
ListView control items are displayed outside the list view control boundary if the control is populated with a huge number of items, such as 550000 items.
How do we fix this issue? Is there any workaround/property/API available to fix this issue? Any help would be highly appreciated.
Steps to reproduce the bug
A sample application with above described issue is attached. ListViewTestApp.zip
Build and run the application in Visual Studio.
Expected behavior
All items in the ListView should to stay confined and visible only when scrolling.
Screenshots
No response
NuGet package version
Windows App SDK 1.5.6: 1.5.240802000
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
Setting this property can alleviate.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Closed similar issues:
- ListView issue (#9766), similarity score: 0.86
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Looks like a dup of #8028?