Replies: 4 comments
-
Thanks @roland5572 |
Beta Was this translation helpful? Give feedback.
-
I found that this nuget package has achieved this function. https://www.nuget.org/packages/VirtualizingWrapPanel/ It has 80.5K downloads in total. |
Beta Was this translation helpful? Give feedback.
-
Test Code: C# 6.0
|
Beta Was this translation helpful? Give feedback.
-
Test Result: Use System.Windows.Controls.WrapPanel: Use WpfToolkit.Controls.VirtualizingWrapPanel: |
Beta Was this translation helpful? Give feedback.
-
.net 5.0 supports virtualizes content for StackPanel (called VirtualizingStackPanel).
StackPanel
https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.stackpanel
VirtualizingStackPanel
https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.virtualizingstackpanel
but it does not supports virtualizes content for WrapPanel.
WrapPanel
https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.wrappanel
Currently .net only has WrapPanel, there is no Virtualizing WrapPanel.
Through virtualization, the display speed of the interface can be improved.
Beta Was this translation helpful? Give feedback.
All reactions