SetBackgroundColor() private méthode

private SetBackgroundColor ( ImageSource img ) : void
img ImageSource
Résultat void
        private static void ImagePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            ImageBox imgBox = (ImageBox)dependencyObject;

            imgBox.SetBackgroundColor(eventArgs.NewValue as ImageSource);
        }