How to increase scrollbar width in WPF ScrollViewer?

前端 未结 4 1278
臣服心动
臣服心动 2020-12-01 04:33

I am working on a touch screen on a small device and the custom width of the scroll-bar is no good as one of my requirements is that everything needs to be doable by finger

4条回答
  •  醉梦人生
    2020-12-01 05:15

    The ScrollBar template reaches out for system parameters to determine its width/height (depending on orientation). Therefore, you can override those parameters:

    
        
            100
        
    
    

提交回复
热议问题