I need the scroll bar's height short than scrollview's height. But I don't know how to do it.
Asked
Active
Viewed 531 times
-1
-
2Your 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 Answers
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

Abdullah Obaidullah
- 386
- 4
- 12