-1

I need the scroll bar's height short than scrollview's height. But I don't know how to do it.

Dragon
  • 487
  • 4
  • 17
  • 2
    Your question is not really clear, maybe you should show us your code and what you've tried so far. – almulo Sep 08 '15 at 09:21

1 Answers1

0

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

<Application
xmlns:sys="clr-namespace:System;assembly=mscorlib"
...
>
<Application.Resources>
    <sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}">50</sys:Double>
    <sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}">50</sys:Double>
</Application.Resources>
</Application>

Please Refer to this link for more information Link

Community
  • 1
  • 1