diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-27 19:10:18 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-27 19:10:18 +0200 |
| commit | 3f22291740c0ac631a655495f6198dbf18be2de2 (patch) | |
| tree | 3a5106dfc6258b5a30dce8e26f78a65b0b7a87d3 /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs | |
| parent | ca29510e1e336c4d68aaa926cfea6eb72ce42779 (diff) | |
| download | Tango-3f22291740c0ac631a655495f6198dbf18be2de2.tar.gz Tango-3f22291740c0ac631a655495f6198dbf18be2de2.zip | |
A lot of work !!!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs index 5cf6d7817..19bc6cd67 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCViewModel.cs @@ -159,6 +159,15 @@ namespace Tango.PPC.Common } /// <summary> + /// Called when the navigation system has navigated to this VM view. + /// </summary> + /// <param name="fromVM">The view model instance of the previous view model</param> + public virtual void OnNavigatedTo(PPCViewModel fromVM) + { + + } + + /// <summary> /// Called when the navigation system has navigated from this VM view. /// </summary> public virtual void OnNavigatedFrom() @@ -167,6 +176,22 @@ namespace Tango.PPC.Common } /// <summary> + /// Called before the navigation system has navigated to this VM view. + /// </summary> + public virtual void OnBeforeNavigatedTo() + { + + } + + /// <summary> + /// Called before the navigation system has navigated from this VM view. + /// </summary> + public virtual void OnBeforeNavigatedFrom() + { + IsVisible = false; + } + + /// <summary> /// Raises the specified message using the default <see cref="TangoMessenger"/>. /// </summary> /// <typeparam name="T"></typeparam> @@ -220,7 +245,7 @@ namespace Tango.PPC.Common /// </summary> public virtual void OnApplicationReady() { - + } } |
