diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:56:03 -0600 |
---|---|---|
committer | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:56:03 -0600 |
commit | d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d (patch) | |
tree | 5ae5f0246d3c462ab67a1f48c10eeed640c3705f /Xamarin.Forms.Platform.WP8 | |
parent | 93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (diff) | |
download | xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.gz xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.bz2 xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.zip |
Prep Image for removal of InternalsVisibleTo (#140)
Diffstat (limited to 'Xamarin.Forms.Platform.WP8')
-rw-r--r-- | Xamarin.Forms.Platform.WP8/ImageRenderer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WP8/ImageRenderer.cs b/Xamarin.Forms.Platform.WP8/ImageRenderer.cs index ba0649fb..e0574095 100644 --- a/Xamarin.Forms.Platform.WP8/ImageRenderer.cs +++ b/Xamarin.Forms.Platform.WP8/ImageRenderer.cs @@ -76,7 +76,7 @@ namespace Xamarin.Forms.Platform.WinPhone async void SetSource(System.Windows.Controls.Image image) { - ((IElementController)Element).SetValueFromRenderer(Image.IsLoadingPropertyKey, true); + ((IImageController)Element).SetIsLoading(true); ImageSource source = Element.Source; IImageSourceHandler handler; @@ -100,7 +100,7 @@ namespace Xamarin.Forms.Platform.WinPhone else image.Source = null; - ((IElementController)Element).SetValueFromRenderer(Image.IsLoadingPropertyKey, false); + ((IImageController)Element).SetIsLoading(false); } } |