Reputation: 308
How do I make the listbox that can not scroll in windows phone 8? it should not be even move up and down?
Upvotes: 2
Views: 542
Reputation: 1478
To achive this you need to set ScrollViewer.VerticalScrollBarVisibility="Disabled" in your listbox control like below example:
<ListBox x:Name="lst" ScrollViewer.VerticalScrollBarVisibility="Disabled">
<ListBox.ItemTemplate>
<DataTemplate>
//add your data template here
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Upvotes: 4