コード例 #1
0
        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();
            }
        }
コード例 #2
0
        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();
            }
        }
コード例 #3
0
 public void Continue()
 {
     _stepperController.Continue();
 }