summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Layout.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/Layout.cs')
-rw-r--r--Xamarin.Forms.Core/Layout.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xamarin.Forms.Core/Layout.cs b/Xamarin.Forms.Core/Layout.cs
index a7864070..a98e46a1 100644
--- a/Xamarin.Forms.Core/Layout.cs
+++ b/Xamarin.Forms.Core/Layout.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
+using Xamarin.Forms.Internals;
namespace Xamarin.Forms
{
@@ -168,7 +169,7 @@ namespace Xamarin.Forms
protected virtual void InvalidateLayout()
{
_hasDoneLayout = false;
- InvalidateMeasure(InvalidationTrigger.MeasureChanged);
+ InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
if (!_hasDoneLayout)
ForceLayout();
}
@@ -304,11 +305,11 @@ namespace Xamarin.Forms
_allocatedFlag = false;
if (trigger == InvalidationTrigger.RendererReady)
{
- InvalidateMeasure(InvalidationTrigger.RendererReady);
+ InvalidateMeasureInternal(InvalidationTrigger.RendererReady);
}
else
{
- InvalidateMeasure(InvalidationTrigger.MeasureChanged);
+ InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
}
s_resolutionList.Add(new KeyValuePair<Layout, int>(this, GetElementDepth(this)));