patel kavit
patel kavit

Reputation: 484

Windows Phone 8.1: Scrollbar of ListView is not visible

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.

Upvotes: 0

Views: 384

Answers (3)

patel kavit
patel kavit

Reputation: 484

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.

Upvotes: 2

Sunil K
Sunil K

Reputation: 143

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

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

Upvotes: 1

ifaminsi
ifaminsi

Reputation: 181

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

Upvotes: 0

Related Questions