Please help me to make Longlistselector with Horizontal scroll in Windows phone 8. And I make the longlistselector follow this link: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj244365(v=vs.105).aspx

有帮助吗?

解决方案

LongListSelector doesn't allows you to change scroll orientation. In other controls like the ListBox you can specify the property ItemsPanel to use a StackPanel with horizontal orientation. But that property is not available in LongListSelector (i don't know exactly the reason, but i think it might be something related with the complex grouping, jump list capabilities of the LongListSelector.

If you need to make an horizontal list and you don't need to group your data, you can replace the LongListSelector with a ListBox and use the ItemsPanel property to specify a horizontal stackpanel.

其他提示

I had the same problem and I needed to load canvas with different colors in it, I created a long list and rotated it to -90

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top