在 Windows Store 应用程序中替代 WP LongListSelector? [英] Substitute of WP LongListSelector in Windows Store App?

查看:27
本文介绍了在 Windows Store 应用程序中替代 WP LongListSelector?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 Windows Phone 应用程序移植到 Windows 应用商店,我正在寻找 WP LongList Selector 的最佳替代品.ListView 并不是我想要的,因为它缺少一些我需要的功能:

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:

我需要创建一个分组的项目列表,其中每个组都有一个页眉和一个页脚.ListView 中的分组和标题没有问题,但不支持页脚(是吗).

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).

Windows 应用商店是否有一些控件与 WP 的 LongListSelector 具有相同的功能集?如果 SDK 中没有,可能有一些第三方控件提供这些功能?

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?

非常感谢!

推荐答案

有一篇不错的文章 开发 Windows Phone 和 Store 应用程序之间的 10 大差异,它推荐 GridView 与 LongListSelector 成对使用.添加页脚对于 GridView 甚至 ListView 应该不是问题,更改控件模板并将页脚添加为页眉.有一个批量样本.

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.

这篇关于在 Windows Store 应用程序中替代 WP LongListSelector?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆