aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
commit3f22291740c0ac631a655495f6198dbf18be2de2 (patch)
tree3a5106dfc6258b5a30dce8e26f78a65b0b7a87d3 /Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation
parentca29510e1e336c4d68aaa926cfea6eb72ce42779 (diff)
downloadTango-3f22291740c0ac631a655495f6198dbf18be2de2.tar.gz
Tango-3f22291740c0ac631a655495f6198dbf18be2de2.zip
A lot of work !!!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
index 8df0a7fb8..bf55534c0 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
@@ -28,6 +28,11 @@ namespace Tango.PPC.Common.Navigation
bool CanNavigateBack { get; }
/// <summary>
+ /// Gets a value indicating whether the back should be enabled.
+ /// </summary>
+ bool IsBackEnabled { get; set; }
+
+ /// <summary>
/// Navigates to the previous view if <see cref="CanNavigateBack"/> is true.
/// </summary>
Task<bool> NavigateBack();
@@ -79,7 +84,7 @@ namespace Tango.PPC.Common.Navigation
/// Navigates to the specified module and view by full path (e.g Jobs.JobsView).
/// </summary>
/// <param name="fullPath">The full path.</param>
- Task<bool> NavigateTo(String fullPath, bool pushToHistory = true);
+ Task<bool> NavigateTo(String fullPath, bool pushToHistory = true, Action<PPCViewModel, PPCViewModel> onNavigating = null, Action<PPCViewModel, PPCViewModel> onNavigated = null);
/// <summary>
/// Navigates to the specified module and view with the specified object and expecting a return parameter.