private static void OnSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { ((DynamicBackground)o).OnSourceChanged(); }