Ejemplo n.º 1
0
        private static void OnProcessModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WizardControl sh = (WizardControl)d;

            sh._viewModel.ProcessMode = (ProcessMode)e.NewValue;
        }
Ejemplo n.º 2
0
 private static void OnHeaderTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     WizardControl sh = (WizardControl)d;
     //sh.HeaderTemplate = (DataTemplate)e.NewValue;
 }
Ejemplo n.º 3
0
        private static void OnErrorPageChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WizardControl sh = (WizardControl)d;

            sh._viewModel.ErrorPage = (IWizardPage)e.NewValue;
        }
Ejemplo n.º 4
0
        private static void OnTitleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WizardControl sh = (WizardControl)d;

            sh._viewModel.Title = (string)e.NewValue;
        }
Ejemplo n.º 5
0
        private static void OnPagesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WizardControl sh = (WizardControl)d;

            sh._viewModel.Pages = (ObservableCollection <IWizardPage>)e.NewValue;
        }