private static void UriSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        if (e.NewValue == e.OldValue)
        {
            return;
        }

        StorageCachedImage obj = (StorageCachedImage)d;

        obj.UriSourceChanged();
    }
    private static void IsAutoRetryChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        if (e.NewValue == e.OldValue)
        {
            return;
        }

        StorageCachedImage obj = (StorageCachedImage)d;
        bool value             = (bool)e.NewValue;

        if (value)
        {
            obj.ImageFailed += obj._autoRetryHandler;
        }
        else
        {
            obj.ImageFailed -= obj._autoRetryHandler;
        }
    }