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/Page.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/Page.cs')
-rw-r--r-- | Xamarin.Forms.Core/Page.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Page.cs b/Xamarin.Forms.Core/Page.cs index 903f4b53..2e1caf0f 100644 --- a/Xamarin.Forms.Core/Page.cs +++ b/Xamarin.Forms.Core/Page.cs @@ -5,6 +5,7 @@ using System.Collections.Specialized; using System.Linq; using System.Threading; using System.Threading.Tasks; +using Xamarin.Forms.Internals; using Xamarin.Forms.Platform; namespace Xamarin.Forms @@ -283,7 +284,7 @@ namespace Xamarin.Forms } _allocatedFlag = false; - InvalidateMeasure(InvalidationTrigger.MeasureChanged); + InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); if (!_allocatedFlag && Width >= 0 && Height >= 0) { SizeAllocated(Width, Height); @@ -348,7 +349,7 @@ namespace Xamarin.Forms view.MeasureInvalidated += OnChildMeasureInvalidated; OnChildAdded(view); - InvalidateMeasure(InvalidationTrigger.MeasureChanged); + InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); } void OnInternalRemoved(VisualElement view) |