diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs index c2c069f45..ac1972f5f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs @@ -100,6 +100,7 @@ namespace Tango.PPC.UI.Notifications _currentMessageBox = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(HasMessageBox)); + RaisePropertyChanged(nameof(HasDialogOrMessage)); } } @@ -126,6 +127,7 @@ namespace Tango.PPC.UI.Notifications _currentDialog = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(HasDialog)); + RaisePropertyChanged(nameof(HasDialogOrMessage)); } } @@ -150,6 +152,14 @@ namespace Tango.PPC.UI.Notifications } } + public bool HasDialogOrMessage + { + get + { + return HasDialog || HasMessageBox; + } + } + /// <summary> /// Shows an error message box. /// </summary> |
