I want to change the width/height of the scrollbars (including the ones inside the datagrids and other controls) in all the application. I successfully tested and tweacked this solution which applies to ONE datagrid:
How to increase size of Datagrid Scrollbar?
<DataGrid.Resources>
<Style TargetType="ScrollBar">
<Style.Triggers>
<Trigger Property="Orientation" Value="Horizontal">
<Setter Property="Width" Value="Auto"/>
<Setter Property="Height" Value="50" />
</Trigger>
<Trigger Property="Orientation" Value="Vertical">
<Setter Property="Width" Value="50"/>
<Setter Property="Height" Value="Auto" />
</Trigger>
</Style.Triggers>
</Style>
</DataGrid.Resources>
But, how can I change the style of ALL the scrollbars and do it "application-wide"?
I suppose I should do it from Application.Resources
but did'nt find any solution for that.
EDIT:
Adding the scrollbar style in <Application.Resources>
does not fully work as it does not changes the scrollbars inside other controls (like datagrids).