wpf Windows Phone 8 应用程序中的 ListView

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15354214/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 08:01:12  来源:igfitidea点击:

ListView in Windows Phone 8 apps

c#.netwpfxamllistview

提问by James

I have a Windows Runtime application on the Windows 8 Store and would like to use some similar features in my new (and first) Windows Phone 8 phone app.

我在 Windows 8 Store 上有一个 Windows 运行时应用程序,我想在我的新(也是第一个)Windows Phone 8 手机应用程序中使用一些类似的功能。

Is there a ListViewnative to Windows Phone 8? Or can we use a ListViewin a Windows Phone 8 app? I could not find one in the Toolbox.

ListViewWindows Phone 8有原生的吗?或者我们可以ListView在 Windows Phone 8 应用程序中使用 a吗?我在工具箱中找不到一个。

If there is no ListView, is it possible to have some kind of a list, that allows for Horizontal orientation (meaning, all list items are presented horizontally - not Top-Down)?

如果没有ListView,是否可能有某种列表,允许水平方向(意味着,所有列表项都水平显示 - 而不是自上而下)?

And what about a FlipView control? Can we use the Windows 8 Metro FlipView control in a Windows Phone app?

那么 FlipView 控件呢?我们可以在 Windows Phone 应用程序中使用 Windows 8 Metro FlipView 控件吗?

回答by Ahmed Emad

you can review this link for difference in Xaml Controls between Windows 8 and Windows Phone 8:

您可以查看此链接以了解 Windows 8 和 Windows Phone 8 之间 Xaml 控件的差异:

XAML controls comparison between Windows Phone 8 and Windows 8

XAML 控件比较 Windows Phone 8 和 Windows 8

you will find that there is no ListView Or FlipView in Windows Phone 8 . may be you can use insteas LongListSelector

您会发现 Windows Phone 8 中没有 ListView 或 FlipView。也许你可以使用 insteas LongListSelector