ListBox data virtualization is not taking effect

前端 未结 2 830
北恋
北恋 2020-12-10 19:01

I had 1000 items from xml and loaded them in a List object. List is databound to ListBox which is horizontally oriented so user can flip through items left to right or right

2条回答
  •  眼角桃花
    2020-12-10 20:06

    at the following article it is explained that wrapping a virtualizing UI control in a ScrollViewer will give it infinite space, effectively disabling UI virtualization

    http://blogs.msdn.com/b/mcsuksoldev/archive/2010/04/13/performance-characteristics-of-the-silverlight-datagrid.aspx

提交回复
热议问题