private void ContinueHandler(object sender, ExecutedRoutedEventArgs args) { bool isValid = ValidateActiveStep(); if (BlockNavigationOnValidationErrors && !isValid) { RaiseNavigationCanceledByValidation(); return; } StepperNavigationEventArgs navigationArgs = new StepperNavigationEventArgs(ContinueNavigationEvent, this, m_controller.ActiveStep, m_controller.NextStep, false); RaiseEvent(navigationArgs); if (ContinueNavigationCommand != null && ContinueNavigationCommand.CanExecute(navigationArgs)) { ContinueNavigationCommand.Execute(navigationArgs); } if (!navigationArgs.Cancel) { m_controller.Continue(); } }
private void ContinueHandler(object sender, ExecutedRoutedEventArgs args) { StepperNavigationEventArgs navigationArgs = new StepperNavigationEventArgs(ContinueNavigationEvent, this, m_controller.ActiveStep, m_controller.NextStep, false); RaiseEvent(navigationArgs); if (ContinueNavigationCommand != null && ContinueNavigationCommand.CanExecute(navigationArgs)) { ContinueNavigationCommand.Execute(navigationArgs); } if (!navigationArgs.Cancel) { m_controller.Continue(); } }
public void Continue() { _stepperController.Continue(); }