Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi guys. After a digging in the internet decided to ask that question.
I'm creating UWP app. Currently I'm struggling to make a ListView or a GridView to scroll to the left and right instead of up and down in Xaml. I thought that would be easy cause it's nothing unusual but started to give up. What is the easiest way to achieve this functionality?
Thanks in advance
Posted
Updated 29-Oct-15 10:46am
v2
Comments
Sergey Alexandrovich Kryukov 29-Oct-15 17:21pm    
First of all, why?
—SA

1 solution

MS changed scrolling direction to vertical intentionally in UWP. If you need horizontal scrolling, you should define own style with control template. Take default style: https://msdn.microsoft.com/en-us/library/windows/apps/mt299128.aspx and change all things about orientation
 
Share this answer
 
Comments
Reatellino 30-Oct-15 4:37am    
Thanks a lot for help. After small changes It works:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900