我需要在 ZoomInView 和 ZoomOutView 中都进行垂直滚动,但它不起作用。我试图指定一个水平滚动,它工作正常,但我需要垂直方向 - 有人有什么想法吗?这是我的代码:
<SemanticZoom x:Name="semanticZoom" ScrollViewer.ZoomMode="Enabled"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollMode="Enabled"
Margin="5,48,5,60">
<SemanticZoom.ZoomedOutView>
<ListView ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollMode="Enabled"
ScrollViewer.IsVerticalScrollChainingEnabled="False">
...
</ListView>
</SemanticZoom.ZoomedOutView>
<SemanticZoom.ZoomedInView>
<GridView ItemsSource="{Binding Source={StaticResource Collection}}"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollMode="Enabled"
ScrollViewer.IsVerticalScrollChainingEnabled="False">
...