예제 #1
0
 /// <summary>
 /// Gets called when a page is closed.
 /// </summary>
 /// <param name="viewState">Indicates the lifecycle state the View is about to reach.</param>
 public override void OnNavigatedFrom(MVVMbasics.Services.ViewState viewState)
 {
     //TODO: Add code, or remove method (if you use this method, do not remove the following line!)
     base.OnNavigatedFrom(viewState);
 }
예제 #2
0
 /// <summary>
 /// Gets called when navigating to a page.
 /// </summary>
 /// <param name="uriParameters">List of parameters that were parsed from the URI.</param>
 /// <param name="parameters">List of parameters that were passed from the calling page.</param>
 /// <param name="viewState">Indicates the lifecycle state the View is about to reach.</param>
 public override void OnNavigatedTo(MVVMbasics.Services.ParameterList uriParameters,
                                    MVVMbasics.Services.ParameterList parameters,
                                    MVVMbasics.Services.ViewState viewState)
 {
     //TODO: Add code, or remove method (if you use this method, do not remove the following line!)
     base.OnNavigatedTo(uriParameters, parameters, viewState);
 }
예제 #3
0
 /// <summary>
 /// Gets called when the page is about to be closed, in order to return back to the previously shown page.
 /// </summary>
 /// <param name="viewState">Indicates the lifecycle state the View is about to reach.</param>
 /// <returns></returns>
 public override bool CancelNavigatingFrom(MVVMbasics.Services.ViewState viewState)
 {
     //TODO: Add code and return TRUE to cancel the closing process, or remove method (if you use this method, do not remove the following line!)
     return base.CancelNavigatingFrom(viewState);
 }