Esempio n. 1
0
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as StepDownKIViewModel;

            this.RedemStackPanel_.Children.Add(this.viewModel_.RedemptionInfoViewModel_.View_);
            this.KiStackPanel_.Children.Add(this.viewModel_.KiEventInfoViewModel_.View_);
            this.NonkiStackPanel_.Children.Add(this.viewModel_.NonKiEventInfoViewModel_.View_);

            //scheduleDataGrid_.ItemsSource = this.viewModel_.RedemptionEvents_;
            //this.PayoffStackPanel_.Children.Add(this.viewModel_.ReturnCalculationViewModel_.ReturnCalculationView_);
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as StepDownKIViewModel;

            this.RedemStackPanel_.Children.Add(this.viewModel_.RedemptionInfoViewModel_.View_);
            this.KiStackPanel_.Children.Add(this.viewModel_.KiEventInfoViewModel_.View_);
            this.NonkiStackPanel_.Children.Add(this.viewModel_.NonKiEventInfoViewModel_.View_);

            //scheduleDataGrid_.ItemsSource = this.viewModel_.RedemptionEvents_;
            //this.PayoffStackPanel_.Children.Add(this.viewModel_.ReturnCalculationViewModel_.ReturnCalculationView_);
        }