i have scroll view in xaml page. not find scroll bar associated it. no property available show scroll bar. should add custom renderer class display scroll bar?
uiscrollview
not have "win32-style" on scrollbars, there scroll indicator can shown while scrolling show user within scrollable view.
in custom renderer (scrollviewrenderer
) set items like:
scrollview.showshorizontalscrollindicator = true; scrollview.showsverticalscrollindicator = true; scrollview.indicatorstyle = uiscrollviewindicatorstyle.black; scrollview.scrollindicatorinsets = new uiedgeinsets(0, 30, 0, 30);
but, again, built-in scroll indictor shown on screen while user scrolling.
if need them on screen time need draw scrollbars yourself.
note: same behavoir os-x scroll view.
Comments
Post a Comment