I would like to change the size of the RepeatButton UP and DOWN of a ScrollViewer, to get a touchable size on industrial touch panels.
How can I access these properties?
I was able to change the size of the ScrollViewer globally within a ResourceDictionary like this:
<Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}">
<Setter Property="Stylus.IsFlicksEnabled" Value="True" />
<Style.Triggers>
<Trigger Property="Orientation" Value="Horizontal">
<Setter Property="Height" Value="{StaticResource widthScrollbarNormal}" />
<Setter Property="MinHeight" Value="{StaticResource widthScrollbarNormal}" />
</Trigger>
<Trigger Property="Orientation" Value="Vertical">
<Setter Property="Width" Value="{StaticResource widthScrollbarNormal}" />
<Setter Property="MinWidth" Value="{StaticResource widthScrollbarNormal}" />
</Trigger>
</Style.Triggers>
But I cannot find the way to change the RepeatButton size.
Thanks
In yout view, in case if is datagrid, add this resource:
Then create all of this styles in styles file (if you don't have it, check how you can create and use one!!): (add the normal one, the horizontal and the vertical!
Normal:
And for horizontal:
And for vertical: