The WizardPage enables editing a keyboards basic properties : its name, width and height.
Inheritance: HelpAwareWizardPage
        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();
        }
Exemplo n.º 2
0
        /// <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();
        }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new keyboard and goes to the next page.
 /// </summary>
 public void CreateNewKeyboard()
 {
     Next = new KeyboardProfileViewModel( Root, WizardManager );
     WizardManager.GoFurther();
 }