Example #1
0
        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);
        }
Example #2
0
 private void PART_VerticalScrollBar_Scroll(object sender, ScrollEventArgs e)
 {
     PART_ScrollViewer.ScrollToVerticalPixel(e.NewValue * PART_ScrollViewer.ScrollableHeight);
 }