diff --git a/src/Perspex.Controls/Panel.cs b/src/Perspex.Controls/Panel.cs index ec87c5ba186..f22926d4540 100644 --- a/src/Perspex.Controls/Panel.cs +++ b/src/Perspex.Controls/Panel.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; -using Perspex.LogicalTree; using Perspex.Media; using Perspex.Metadata; @@ -28,8 +27,6 @@ public class Panel : Control, IPanel private readonly Controls _children = new Controls(); - private ILogical _childLogicalParent; - /// /// Initializes static members of the class. /// @@ -44,7 +41,6 @@ static Panel() public Panel() { _children.CollectionChanged += ChildrenChanged; - _childLogicalParent = this; } ///