Exemplo n.º 1
0
        private void sv3_ScrollChanged(object sender, ScrollChangedEventArgs e)
        {
            ScrollViewer sv = e.OriginalSource as ScrollViewer;

            if (sv != null)
            {
                ScrollViewer2.ScrollToVerticalOffset(sv.VerticalOffset);
            }
        }
Exemplo n.º 2
0
 private void CompetitionsToSelect_OnPreviewMouseWheel(object sender, MouseWheelEventArgs e)
 {
     ScrollViewer2.ScrollToVerticalOffset(ScrollViewer2.VerticalOffset - e.Delta);
 }
Exemplo n.º 3
0
 private void ScrollViewer1_ScrollChanged(object sender, ScrollChangedEventArgs e)
 {
     ScrollViewer2.ScrollToVerticalOffset(ScrollViewer1.VerticalOffset);
 }