protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     var quotation = e.Parameter as Quotation;
     pageModel = new SetLimitDialogViewModel() {Symbol = quotation.Symbol, Name = quotation.Name, Value = quotation.Value, LimitType = quotation.LimitType, Date = quotation.Date, Time = quotation.Time};
     pageModel.NavigateBack += NavigateQuotationDetails;
     DataContext = pageModel;
     
 }
Пример #2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            var quotation = e.Parameter as Quotation;

            pageModel = new SetLimitDialogViewModel()
            {
                Symbol = quotation.Symbol, Name = quotation.Name, Value = quotation.Value, LimitType = quotation.LimitType, Date = quotation.Date, Time = quotation.Time
            };
            pageModel.NavigateBack += NavigateQuotationDetails;
            DataContext             = pageModel;
        }