Browse Source

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.
pull/5/head
Steven Kirk 12 years ago
parent
commit
d71694573b
  1. 9
      Perspex.Controls/Control.cs

9
Perspex.Controls/Control.cs

@ -30,9 +30,6 @@ namespace Perspex.Controls
public static readonly PerspexProperty<Brush> ForegroundProperty =
PerspexProperty.Register<Control, Brush>("Foreground", new SolidColorBrush(0xff000000), true);
public static readonly PerspexProperty<Control> ParentProperty =
PerspexProperty.Register<Control, Control>("Parent");
public static readonly PerspexProperty<ITemplatedControl> TemplatedParentProperty =
PerspexProperty.Register<Control, ITemplatedControl>("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

Loading…
Cancel
Save