private void OnLoaded(object sender, RoutedEventArgs e) { var scrollViewer = Stickers.GetScrollViewer(); if (scrollViewer != null) { stickersScroll = scrollViewer; stickersScroll.ViewChanged += Stickers_ViewChanged; } }