Interface INavigationAware
Provides a way for objects involved in navigation to be notified of navigation activities.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface INavigationAware
Methods
View SourceIsNavigationTarget(NavigationContext)
Called to determine if this instance can handle the navigation request.
Declaration
bool IsNavigationTarget(NavigationContext navigationContext)
Parameters
Type | Name | Description |
---|---|---|
NavigationContext | navigationContext | The navigation context. |
Returns
Type | Description |
---|---|
System.Boolean | true if this instance accepts the navigation request; otherwise, false. |
OnNavigatedFrom(NavigationContext)
Called when the implementer is being navigated away from.
Declaration
void OnNavigatedFrom(NavigationContext navigationContext)
Parameters
Type | Name | Description |
---|---|---|
NavigationContext | navigationContext | The navigation context. |
OnNavigatedTo(NavigationContext)
Called when the implementer has been navigated to.
Declaration
void OnNavigatedTo(NavigationContext navigationContext)
Parameters
Type | Name | Description |
---|---|---|
NavigationContext | navigationContext | The navigation context. |