This commit is contained in:
NaBian 2023-09-24 21:33:59 +08:00
parent cb66005479
commit 8548a60193
3 changed files with 3 additions and 3 deletions

View File

@ -4107,7 +4107,7 @@
</Grid>
</ControlTemplate>
<Style x:Key="ScrollViewerUpDown" TargetType="ScrollViewer">
<Setter Property="VerticalScrollBarVisibility" Value="{Binding Path=(hc:ScrollViewer.VerticalScrollBarVisibility),RelativeSource={RelativeSource TemplatedParent}}" />
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Template" Value="{StaticResource ScrollViewerUpDownControlTemplate}" />
</Style>

View File

@ -47,7 +47,7 @@
</ControlTemplate>
<Style x:Key="ScrollViewerUpDown" TargetType="ScrollViewer">
<Setter Property="VerticalScrollBarVisibility" Value="{Binding Path=(hc:ScrollViewer.VerticalScrollBarVisibility),RelativeSource={RelativeSource TemplatedParent}}" />
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="Focusable" Value="False"/>
<Setter Property="Template" Value="{StaticResource ScrollViewerUpDownControlTemplate}"/>
</Style>

View File

@ -4107,7 +4107,7 @@
</Grid>
</ControlTemplate>
<Style x:Key="ScrollViewerUpDown" TargetType="ScrollViewer">
<Setter Property="VerticalScrollBarVisibility" Value="{Binding Path=(hc:ScrollViewer.VerticalScrollBarVisibility),RelativeSource={RelativeSource TemplatedParent}}" />
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Template" Value="{StaticResource ScrollViewerUpDownControlTemplate}" />
</Style>