diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 16:19:12 -0600 |
---|---|---|
committer | Samantha Houts <samantha@teamredwall.com> | 2016-05-02 15:19:12 -0700 |
commit | 5f8f47ff7ce934f4937ec428b3c1def6286f14da (patch) | |
tree | 832d48d28c09eccd8b39838d16b0b9887bff7e55 /Xamarin.Forms.Core/Image.cs | |
parent | 70d0e406ec2fcaf8c883d9b7aa2fc287466645ca (diff) | |
download | xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.tar.gz xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.tar.bz2 xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.zip |
Prep VisualElement (and descendants) for removal of InternalsVisibleTo (#141)
Diffstat (limited to 'Xamarin.Forms.Core/Image.cs')
-rw-r--r-- | Xamarin.Forms.Core/Image.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Image.cs b/Xamarin.Forms.Core/Image.cs index 4528f3b9..7d6299ac 100644 --- a/Xamarin.Forms.Core/Image.cs +++ b/Xamarin.Forms.Core/Image.cs @@ -1,4 +1,5 @@ using System; +using Xamarin.Forms.Internals; using Xamarin.Forms.Platform; namespace Xamarin.Forms @@ -110,7 +111,7 @@ namespace Xamarin.Forms void OnSourceChanged(object sender, EventArgs eventArgs) { OnPropertyChanged(SourceProperty.PropertyName); - InvalidateMeasure(InvalidationTrigger.MeasureChanged); + InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); } static void OnSourcePropertyChanged(BindableObject bindable, object oldvalue, object newvalue) @@ -125,7 +126,7 @@ namespace Xamarin.Forms newvalue.SourceChanged += OnSourceChanged; SetInheritedBindingContext(newvalue, BindingContext); } - InvalidateMeasure(InvalidationTrigger.MeasureChanged); + InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); } static void OnSourcePropertyChanging(BindableObject bindable, object oldvalue, object newvalue) |