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

Loading…
Cancel
Save