2013-06-26 25 views
0

我想知道如何消除滾動查看器內容的慣性效果時偏移量爲負值。 實際上,偏移量爲0.0,但內容像春天一樣呈負向移動。避免慣性scrollviewer負偏移Windows 8應用程序

這是表明我想去除效果的視頻:

http://www.youtube.com/watch?v=3kXce-VK--4&feature=youtu.be

的代碼非常簡單:

<ScrollViewer x:Name="CalendarScrollViewer" 
          VerticalScrollBarVisibility="Auto" 
          HorizontalScrollBarVisibility="Auto" 
          Grid.Column="2" Grid.Row="1" 
          ZoomMode="Disabled" 
          HorizontalAlignment="Right" 
          LayoutUpdated="CalendarScrollViewer_LayoutUpdated" > 
         <Grid> 
          ... 
         </Grid> 
</ScrollViewer> 

感謝。

回答

0

您是否嘗試過設置ScrollViewer.IsScrollInertiaEnabled =「False」?