Example #1
0
        private static void UpdateScrollBar(DependencyObject d)
        {
            ScrollPageBar scrollPageBar = d as ScrollPageBar;

            if (scrollPageBar != null)
            {
                scrollPageBar.InvalidateChildren();
            }
        }
Example #2
0
 private static void OnViewportSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
 {
     ScrollPageBar.UpdateScrollBar(d);
 }