0
votes

In our Windows Phone 8.1 application we have added a ListView with custom list item template. We can scroll the list view but it doesn't show the vertical scroll bar.

We have tried with setting below property of ListView

ScrollViewer.VerticalScrollBarVisibility="Visible"

But it is not working.

3
Can you try using a tool like Xaml Spy to see if the width of the listview is not larger then the screen real estate? Maybe it's there, but just not visible...Depechie

3 Answers

2
votes

Issue is fixed by setting the lighter theme to the ListView.

<ListView RequestedTheme="Light"/>

I am not sure what was the reason behind it but this worked. The scroll bar is now visible when we start scrolling.
We have our own custom theme and not using Accent color so this will not make any issue in our code.

Thanks all for your help.

1
votes

Try this code add the vertical scroll mode = "TRUE"

<ListView
 ScrollViewer.VerticalScrollBarVisibility="True"
ScrollViewer.VerticalScrollMode="True"/>
0
votes

If you try adding listviewitems to the listview you can directly scroll the list items in your phone emulator but when we drap our mouse to scroll then the scroll viewer will be visible. Check it once Else elaborate your question more clearly