Browse Source

Make popups inherit properties.

pull/58/head
Steven Kirk 11 years ago
parent
commit
a7904eca4f
  1. 2
      Perspex.Controls/PopupRoot.cs

2
Perspex.Controls/PopupRoot.cs

@ -6,6 +6,7 @@
namespace Perspex.Controls namespace Perspex.Controls
{ {
using System;
using Perspex.Interactivity; using Perspex.Interactivity;
using Perspex.Media; using Perspex.Media;
using Perspex.Platform; using Perspex.Platform;
@ -21,6 +22,7 @@ namespace Perspex.Controls
public PopupRoot() public PopupRoot()
: base(Locator.Current.GetService<IPopupImpl>()) : base(Locator.Current.GetService<IPopupImpl>())
{ {
this.GetObservable(ParentProperty).Subscribe(x => this.InheritanceParent = x);
} }
public new IPopupImpl PlatformImpl public new IPopupImpl PlatformImpl

Loading…
Cancel
Save