From 0f1fbad9c294250d16507932fd89fee3e3e26569 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Thu, 13 May 2021 11:34:41 -0400 Subject: [PATCH] chore: Fix net461 build --- src/Uno.UI/UI/Xaml/FrameworkElement.net.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Uno.UI/UI/Xaml/FrameworkElement.net.cs b/src/Uno.UI/UI/Xaml/FrameworkElement.net.cs index 3badae336f0c..fdcf0bc2b800 100644 --- a/src/Uno.UI/UI/Xaml/FrameworkElement.net.cs +++ b/src/Uno.UI/UI/Xaml/FrameworkElement.net.cs @@ -15,6 +15,8 @@ public partial class FrameworkElement : IEnumerable internal List _children = new List(); + internal UIElement VisualParent => ((IDependencyObjectStoreProvider)this).Store.Parent as UIElement; + private protected virtual void OnPostLoading() { } partial void OnLoadingPartial();