Substitute of WP LongListSelector in Windows Store App?

こ雲淡風輕ζ 提交于 2019-12-10 11:28:56

问题


I am working on porting a Windows Phone app to Windows Store and I looking for the best substitute of the WP LongList Selector. The ListView is not quite what I am looking for since it lacks some features I need:

I need to create a grouped list of items where each group has a header and a footer. Grouping and headers are no problem in ListView but footer are not supported (are they).

Is there some control for Windows Store that has the same feature set as the LongListSelector for WP? If not in the SDK maybe there is some third-party control that offers these features?

Thank you very much!


回答1:


There is a nice article Top 10 Differences between developing Windows Phone and Store apps and it recommend GridView as a pair to LongListSelector. Adding footer shouldn't be a problem for GridView or even ListView, change control template and add footer as the header. There are a lot samples.



来源:https://stackoverflow.com/questions/21108709/substitute-of-wp-longlistselector-in-windows-store-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!