Created
June 3, 2017 10:13
-
-
Save rootasjey/d83f1e4ef50216f7d1c80f6f4777d1eb to your computer and use it in GitHub Desktop.
UWP Horizontal ListView in xaml/c#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListView x:Name="UserPhotosListView" | |
ScrollViewer.HorizontalScrollMode="Enabled" | |
ScrollViewer.HorizontalScrollBarVisibility="Auto" | |
ScrollViewer.IsHorizontalRailEnabled="True" | |
ItemTemplate="{StaticResource PhotoTemplate}"> | |
<ListView.ItemsPanel> | |
<ItemsPanelTemplate> | |
<VirtualizingStackPanel Orientation="Horizontal" /> | |
</ItemsPanelTemplate> | |
</ListView.ItemsPanel> | |
</ListView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it works like a charm. Thank you 👍