AppTemplate.ViewModels.Common.PageViewModel.NavigateBack C# (CSharp) Method

NavigateBack() public method

Called to request the navigation frame to navigate backwards.
public NavigateBack ( BackRequestedEventArgs args ) : void
args BackRequestedEventArgs /// The arguments passed from sources requesting to go back (i.e. System back button). ///
return void
        public virtual void NavigateBack(BackRequestedEventArgs args)
        {
            if (this.NavigationService.CanGoBack)
            {
                if (args != null)
                {
                    args.Handled = true;
                }

                this.NavigationService.GoBack();
            }
        }