ListBox的虚拟可视化技术

在ListBox中承载大量的数据项时,可采用虚拟可视化技术来提高控件显示数据的性能。如下代码:               

<ListBox.ItemsPanel>
                    <ItemsPanelTemplate>
                        <VirtualizingStackPanel Orientation="Horizontal" VerticalAlignment="Center"
                           HorizontalAlignment="Center"
                           IsItemsHost="True"/>
                    </ItemsPanelTemplate>
                </ListBox.ItemsPanel>

原文地址:https://www.cnblogs.com/changbaishan/p/3495974.html