summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs b/Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs
index 2d8a4f90..38950522 100644
--- a/Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs
+++ b/Xamarin.Forms.Platform.WinRT/ViewToRendererConverter.cs
@@ -97,7 +97,7 @@ namespace Xamarin.Forms.Platform.WinRT
var wrapperAwareRenderer = currentRenderer as IWrapperAware;
wrapperAwareRenderer?.NotifyWrapped();
- foreach (Element child in currentView.LogicalChildren)
+ foreach (Element child in ((IElementController)currentView).LogicalChildren)
{
var childView = child as View;
if (childView == null)