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();