您的位置:首页 > 其它

ListBox的虚拟可视化技术

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

<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel Orientation="Horizontal" VerticalAlignment="Center"
HorizontalAlignment="Center"
IsItemsHost="True"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: