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

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