diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-01 12:17:44 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-01 12:17:44 +0300 |
| commit | b2ecc74067ad29c0bb4d267fb966ceb7cb8cbbdb (patch) | |
| tree | bb06ad367fdcbaac6b7428d6daedeb03e30e24e4 /Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs | |
| parent | 125af20c03bcf1904166e9858a3a54ef4fcb1f05 (diff) | |
| download | Tango-b2ecc74067ad29c0bb4d267fb966ceb7cb8cbbdb.tar.gz Tango-b2ecc74067ad29c0bb4d267fb966ceb7cb8cbbdb.zip | |
Working on PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.SharedUI/DialogViewVM.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -38,6 +38,11 @@ namespace Tango.SharedUI } /// <summary> + /// Gets a value indicating whether the dialog has been confirmed. + /// </summary> + public bool DialogResult { get; private set; } + + /// <summary> /// Gets or sets the close command. /// </summary> public RelayCommand CloseCommand { get; set; } @@ -60,6 +65,7 @@ namespace Tango.SharedUI /// </summary> protected virtual void Accept() { + DialogResult = true; Accepted?.Invoke(); } |
