Ejemplo n.º 1
0
        protected override void OnCreated()
        {
            SetKnownActionTypes(typeof(CancelAction), typeof(FinishAction));

            var multiStepView = new MultiStepView(View, SessionViewModel, ID, InitialView);

            MultiStepView = multiStepView;

            var keyGesture   = new KeyGesture(Key.Escape);
            var relayCommand = new RelayCommand(Cancel);
            var inputBinding = new KeyBinding(relayCommand, keyGesture);

            View.InputBindings.Add(inputBinding);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Disposes the managed resources.
 /// </summary>
 protected override void DisposeManagedResources()
 {
     MultiStepView.Dispose();
 }