From d71694573b7352d2e187db22db2f129224eecd55 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Sun, 30 Nov 2014 12:24:13 +0100 Subject: [PATCH] Removed Parent property for now. It didn't work and wasn't used and was confusing me. Add it back in when it's needed. --- Perspex.Controls/Control.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Perspex.Controls/Control.cs b/Perspex.Controls/Control.cs index 106469b296..2cf63cfe06 100644 --- a/Perspex.Controls/Control.cs +++ b/Perspex.Controls/Control.cs @@ -30,9 +30,6 @@ namespace Perspex.Controls public static readonly PerspexProperty ForegroundProperty = PerspexProperty.Register("Foreground", new SolidColorBrush(0xff000000), true); - public static readonly PerspexProperty ParentProperty = - PerspexProperty.Register("Parent"); - public static readonly PerspexProperty TemplatedParentProperty = PerspexProperty.Register("TemplatedParent", inherits: true); @@ -138,12 +135,6 @@ namespace Perspex.Controls } } - public Control Parent - { - get { return this.GetValue(ParentProperty); } - protected set { this.SetValue(ParentProperty, value); } - } - public Styles Styles { get