locked
How to implement UI virtualization for grouped data. RRS feed

  • Question

  • Hello,

    请问GridView在虚拟化情况下是否必须要求所有的Item的大小一致?

    具体情况如下:

    1.对于不分组数据:GridView在UI虚拟化的情况下(即采用WrapGrid做ItemsPanel)不能够实现Item的大小不统一。

    2.对于分组数据:

    win8下GridView对分组数据组内不支持UI虚拟化,在Win8.1 preview 下我发现MS提供的ItemsWrapGrid可以解决虚拟化问题,但是此时出现了与问题1同样的问题,所有Item必须大小保持一致。

    对于以上两种情况是否有好的解决方案,是否有Demo?

    以上,Thanks

    I know that GridView didn't  supported  UI virtualization for grouped data in Window8,and I

    Wednesday, October 16, 2013 3:18 AM

All replies

  • Please see the new ItemsWrapGrid and ItemsStackPanel features in Windows 8.1 which enable this.  The updated ListView and GridView SDK samples talk about this.

    Tim Heuer | Program Manager, UI Platforms (XAML, WinJS) | http://timheuer.com/blog | @timheuer | Callisto - XAML UI Toolkit

    (if my post has answered your question, please consider using the *mark as answer* feature in the forums to help others)

    Wednesday, October 16, 2013 3:34 AM