IConfirmNavigationRequest.ConfirmNavigationRequest Method
Determines whether this instance accepts being navigated away from.
Namespace: Microsoft.Practices.Prism.Regions
Assembly: Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)
Syntax
void ConfirmNavigationRequest(
NavigationContext navigationContext,
Action<bool> continuationCallback
)
'Declaration
Sub ConfirmNavigationRequest ( _
navigationContext As NavigationContext, _
continuationCallback As Action(Of Boolean) _
)
Parameters
- navigationContext
Type: Microsoft.Practices.Prism.Regions.NavigationContext
The navigation context.
- continuationCallback
Type: System.Action<Boolean>
The callback to indicate when navigation can proceed.
Remarks
Implementors of this method do not need to invoke the callback before this method is completed, but they must ensure the callback is eventually invoked.