Exemple #1
0
        private void ImageGridView_Loaded(object sender, RoutedEventArgs e)
        {
            var scrollViewer = ImageGridView.GetScrollViewer();

            scrollViewer.ViewChanging -= ScrollViewer_ViewChanging;
            scrollViewer.ViewChanging += ScrollViewer_ViewChanging;
        }
Exemple #2
0
 public void ScrollToTop()
 {
     ImageGridView.GetScrollViewer().ChangeView(null, 0, null);
 }
Exemple #3
0
 public void SmoothScrollToPosition(double y)
 {
     ImageGridView.GetScrollViewer().ChangeView(null, y, null, false);
 }