Reputation: 47
Kindly help me in this topic, Am developing my first app on windows phone 8 and I have stuck up at this point. I have a UI page, At which in the bottom of the page i want to have a swipe control on those items only( not on the entire page). Kindly help me out in this.
Thanks in advance
Upvotes: 4
Views: 720
Reputation: 2771
As I understand it you simply want a list that you can swipe horizontally?
You can insert it using this:
<ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<Your control... />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Upvotes: 3