Triggering on a ScrollViewer's scroll bar visibility (WPF)
是否可以创建基于
类似这样的:
1 2 3 4 5 6 7 | <ScrollViewer VerticalScrollBarVisibility="Auto"> <ScrollViewer.Triggers> <Trigger Property="IsScrollBarVisible" Value="True"> <!-- Setters --> </Trigger> </ScrollViewer.Triggers> </ScrollViewer> |
在
上触发