Carson Vo
Carson Vo

Reputation: 546

How to make Longlistselector with Horizontal scroll in Windows phone 8

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

Upvotes: 2

Views: 1387

Answers (2)

Fredd
Fredd

Reputation: 11

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

Upvotes: 1

Josue Yeray
Josue Yeray

Reputation: 1163

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.

Upvotes: 4

Related Questions