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