From b2ecc74067ad29c0bb4d267fb966ceb7cb8cbbdb Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 1 Jul 2018 12:17:44 +0300 Subject: Working on PPC. --- Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs') diff --git a/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs b/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs index 84452408f..1854b410a 100644 --- a/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs +++ b/Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs @@ -37,6 +37,11 @@ namespace Tango.SharedUI set { _canClose = value; RaisePropertyChangedAuto(); InvalidateRelayCommands(); } } + /// + /// Gets a value indicating whether the dialog has been confirmed. + /// + public bool DialogResult { get; private set; } + /// /// Gets or sets the close command. /// @@ -60,6 +65,7 @@ namespace Tango.SharedUI /// protected virtual void Accept() { + DialogResult = true; Accepted?.Invoke(); } -- cgit v1.3.1