Пример #1
0
        protected override void OnAttached()
        {
            base.OnAttached();

            DialogService.SetIsViewRegistered(AssociatedObject, true);
        }
Пример #2
0
        protected override void OnDetaching()
        {
            DialogService.SetIsViewRegistered(AssociatedObject, false);

            base.OnDetaching();
        }
Пример #3
0
 public DialogWindow()
 {
     // Register the window.
     DialogService.SetIsViewRegistered(this, true);
 }