public override void OnKeyboardSelected( KeyboardViewModel selectedKeyboardViewModel ) { //We update the Next property to give it the proper model. Next = new KeyboardProfileViewModel( Root, WizardManager, _selectedKeyboard.Keyboard ); NotifyOfPropertyChange( () => IsLastStep ); NotifyOfPropertyChange( () => CanGoFurther ); WizardManager.GoFurther(); }
/// <summary> /// Goes to the next page to enable modifying the current keyboard. /// </summary> public void EditCurrentKeyboard() { var keyboard = _keyboardCtx.CurrentKeyboard; Next = new KeyboardProfileViewModel( Root, WizardManager, keyboard ); WizardManager.GoFurther(); }
/// <summary> /// Creates a new keyboard and goes to the next page. /// </summary> public void CreateNewKeyboard() { Next = new KeyboardProfileViewModel( Root, WizardManager ); WizardManager.GoFurther(); }