static void OnSourceChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            CachedImageCtrl img = (CachedImageCtrl)obj;

            img.imgImage.Source = (BitmapSource)args.NewValue;
        }
        static void OnColorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            CachedImageCtrl img = (CachedImageCtrl)obj;

            img.Fill((PictureInfoDTO)args.NewValue);
        }