summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Page.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/Page.cs')
-rw-r--r--Xamarin.Forms.Core/Page.cs5
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)