public override Excel_multiAsset_compositeOption_subtypeViewModel Clone()
        {
            Excel_multiAsset_upInOutCallViewModel clone = new Excel_multiAsset_upInOutCallViewModel();

            clone.Excel_underlyingCalcInfoViewModel_ = this.excel_underlyingCalcInfoViewModel_;

            clone.ExerciseDate_ = this.exerciseDate_;
            clone.PayoffDate_   = this.payoffDate_;
            clone.InOut_        = this.inOut_;
            //clone.BaseUnderlyingValue_ = this.baseUnderlyingValue_;
            clone.partiRate_  = this.partiRate_;
            clone.BaseCoupon_ = this.baseCoupon_;
            clone.Strike_     = this.strike_;
            //clone.StrikeValue_ = this.strikeValue_;
            clone.Barrier_ = this.barrier_;
            //clone.BarrierValue_ = this.BarrierValue_;
            clone.RebateCoupon_      = this.rebateCoupon_;
            clone.RebateCouponValue_ = this.rebateCouponValue_;

            clone.ReturnUnderlyingCalcIDViewModel_ = Excel_underlyingCalcIDViewModel.CreateExcel_underlyingCalcID(this.returnUnderlyingCalcIDViewModel_.Excel_type_);
            clone.ReturnUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            clone.BarrierUnderlyingCalcIDViewModel_ = Excel_underlyingCalcIDViewModel.CreateExcel_underlyingCalcID(this.barrierUnderlyingCalcIDViewModel_.Excel_type_);
            clone.BarrierUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            clone.ObservationStartDate_ = this.observationStartDate_;
            clone.ObservationEndDate_   = this.observationEndDate_;

            this.descriptionUpdate();

            clone.Description_ = this.description_;

            return(clone);
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_multiAsset_upInOutCallViewModel;

            this.bindPanel_.DataContext = this.viewModel_;


        }
        public override Excel_multiAsset_compositeOption_subtypeViewModel Clone()
        {
            Excel_multiAsset_upInOutCallViewModel clone = new Excel_multiAsset_upInOutCallViewModel();

            clone.Excel_underlyingCalcInfoViewModel_ = this.excel_underlyingCalcInfoViewModel_;

            clone.ExerciseDate_ = this.exerciseDate_;
            clone.PayoffDate_ = this.payoffDate_;
            clone.InOut_ = this.inOut_;
            //clone.BaseUnderlyingValue_ = this.baseUnderlyingValue_;
            clone.partiRate_ = this.partiRate_;
            clone.BaseCoupon_ = this.baseCoupon_;
            clone.Strike_ = this.strike_;
            //clone.StrikeValue_ = this.strikeValue_;
            clone.Barrier_ = this.barrier_;
            //clone.BarrierValue_ = this.BarrierValue_;
            clone.RebateCoupon_ = this.rebateCoupon_;
            clone.RebateCouponValue_ = this.rebateCouponValue_;

            clone.ReturnUnderlyingCalcIDViewModel_ = Excel_underlyingCalcIDViewModel.CreateExcel_underlyingCalcID(this.returnUnderlyingCalcIDViewModel_.Excel_type_);
            clone.ReturnUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            clone.BarrierUnderlyingCalcIDViewModel_ = Excel_underlyingCalcIDViewModel.CreateExcel_underlyingCalcID(this.barrierUnderlyingCalcIDViewModel_.Excel_type_);
            clone.BarrierUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            clone.ObservationStartDate_ = this.observationStartDate_;
            clone.ObservationEndDate_ = this.observationEndDate_;

            this.descriptionUpdate();

            clone.Description_ = this.description_;

            return clone;
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_multiAsset_upInOutCallViewModel;

            this.bindPanel_.DataContext = this.viewModel_;
        }