summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Layout.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 16:19:12 -0600
committerSamantha Houts <samantha@teamredwall.com>2016-05-02 15:19:12 -0700
commit5f8f47ff7ce934f4937ec428b3c1def6286f14da (patch)
tree832d48d28c09eccd8b39838d16b0b9887bff7e55 /Xamarin.Forms.Core/Layout.cs
parent70d0e406ec2fcaf8c883d9b7aa2fc287466645ca (diff)
downloadxamarin-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/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)));