protected override void OnNavigatedTo(NavigationEventArgs e) { if (!(e.Parameter is DateTime)) { return; } DateTime dateTimeWithDays = (DateTime)e.Parameter; _storeData.SetMonth(dateTimeWithDays); _storeData.ForceUpdate(); RaisePropertyChanged(nameof(OperationGroups)); RaisePropertyChanged(nameof(ListOfMoneyAccounts)); SetPrevNextIncomingButtons(); if ((bool)ByDateRadioButton.IsChecked) { ListViewByDate(); } else { ListViewByCategory(); } SetEmptyListViewInfoVisibility(); base.OnNavigatedTo(e); }