简体   繁体   中英

vertical scroll bar is not visible in windows phone while using phone:webBrowser?

<ScrollViewer>
<phone:WebBrowser 
    ScrollViewer.VerticalScrollBarVisibility="Visible" x:Name="browser"
    IsScriptEnabled="True" />
</ScrollViewer>

I was initialized webBrowser like above. And I have made vertical scrollbar scripts as much i know. Still, Vertical scroll bar is not visible in webBrowser ?

What mistake I have done ?

I think this is a theme issue.

Your WebBrowser is loading HTML that has a white background, but the default color of the scroll bar is white. So, it may actually be there.

Try switching your device/emulator theme from dark to light. Then view the WebBrowser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM