Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PopupRoot"/> class.
 /// </summary>
 /// <param name="dependencyResolver">
 /// The dependency resolver to use. If null the default dependency resolver will be used.
 /// </param>
 public PopupRoot(IPerspexDependencyResolver dependencyResolver)
     : base(PlatformManager.CreatePopup(), dependencyResolver)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PopupRoot"/> class.
 /// </summary>
 /// <param name="dependencyResolver">
 /// The dependency resolver to use. If null the default dependency resolver will be used.
 /// </param>
 public PopupRoot(IAvaloniaDependencyResolver dependencyResolver)
     : base(PlatformManager.CreatePopup(), dependencyResolver)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PopupRoot"/> class.
 /// </summary>
 /// <param name="dependencyResolver">
 /// The dependency resolver to use. If null the default dependency resolver will be used.
 /// </param>
 public PopupRoot(IPerspexDependencyResolver dependencyResolver)
     : base(PlatformManager.CreatePopup(), dependencyResolver)
 {
     GetObservable(ParentProperty).Subscribe(x => InheritanceParent = (PerspexObject)x);
 }