private void opacityAnim_Completed(object sender, EventArgs e) { PART_ContentScreenshot.Opacity = 0; PART_ContentScreenshot.Source = null; PART_Content.Opacity = 1; PART_Content.IsHitTestVisible = true; PART_ScrollViewer.ScrollToHorizontalPixel(0); PART_ScrollViewer.ScrollToVerticalPixel(0); }
private void PART_HorizontalScrollBar_Scroll(object sender, ScrollEventArgs e) { PART_ScrollViewer.ScrollToHorizontalPixel(e.NewValue * PART_ScrollViewer.ScrollableWidth); }