protected virtual void OnContentVisible(EventArgs e) { var handler = ContentVisible; if (handler != null) { handler(this, e); } AwesomeScrollViewer.StaticBump(); }
private static void OnUriSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { var image = (Image)o; var uri = (Uri)e.NewValue; if (uri != null) { // Check if it is recent enough in use that we want it now. if (_recentQuick.ContainsKey(uri)) { TransferToImage(image, uri); } else { // Standard bump AwesomeScrollViewer.QueueBump(); } } }