public ParticularsDetails()
 {
     this.InitializeComponent();
     this.particularsViewModel = ViewModelLocator.instanceLoader.LoadSingelton<ParticularsViewModel>("ParticularsViewModel");
     base.DataContext = this.particularsViewModel;
     this.InitailizeApplicationBar();
     this.mainPageSummaryViewModel = ViewModelLocator.MainPageViewModel;
     this.mainPageSummaryViewModel.ThisMonthSummary.IncomeSummaryEntry.ComparationInfo.Amount = -1M;
     this.mainPageSummaryViewModel.ThisMonthSummary.ExpenseSummaryEntry.ComparationInfo.Amount = -1M;
 }
        public ParticularsDetails()
        {
            this.InitializeComponent();
            this.particularsViewModel = ViewModelLocator.instanceLoader.LoadSingelton<ParticularsViewModel>("ParticularsViewModel");
            this.DataContext = this.particularsViewModel;
            this.InitailizeApplicationBar();
            this.mainPageSummaryViewModel = ViewModelLocator.MainPageViewModel;
            this.mainPageSummaryViewModel.ThisMonthSummary.IncomeSummaryEntry.ComparationInfo.Amount = -1M;
            this.mainPageSummaryViewModel.ThisMonthSummary.ExpenseSummaryEntry.ComparationInfo.Amount = -1M;

            this.NetAssetsSummary.DataContext = this;

            TiltEffect.SetIsTiltEnabled(this, true);
            this.Loaded += ParticularsDetails_Loaded;

            this.CategorySummaryPivot.DataContext = this;
        }