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.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Layout.cs b/Xamarin.Forms.Core/Layout.cs
index 01049911..ac5e48b3 100644
--- a/Xamarin.Forms.Core/Layout.cs
+++ b/Xamarin.Forms.Core/Layout.cs
@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
+using System.ComponentModel;
using System.Linq;
using Xamarin.Forms.Internals;
@@ -17,7 +18,7 @@ namespace Xamarin.Forms
_children = new ElementCollection<T>(InternalChildren);
}
- public IList<T> Children
+ public new IList<T> Children
{
get { return _children; }
}
@@ -98,7 +99,8 @@ namespace Xamarin.Forms
public event EventHandler LayoutChanged;
- IReadOnlyList<Element> ILayoutController.Children
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public IReadOnlyList<Element> Children
{
get { return InternalChildren; }
}