Пример #1
0
        private void sv3_ScrollChanged(object sender, ScrollChangedEventArgs e)
        {
            ScrollViewer sv = e.OriginalSource as ScrollViewer;

            if (sv != null)
            {
                ScrollViewer2.ScrollToVerticalOffset(sv.VerticalOffset);
            }
        }
Пример #2
0
 private void CompetitionsToSelect_OnPreviewMouseWheel(object sender, MouseWheelEventArgs e)
 {
     ScrollViewer2.ScrollToVerticalOffset(ScrollViewer2.VerticalOffset - e.Delta);
 }
Пример #3
0
 private void ScrollViewer1_ScrollChanged(object sender, ScrollChangedEventArgs e)
 {
     ScrollViewer2.ScrollToVerticalOffset(ScrollViewer1.VerticalOffset);
 }