private void RefreshAll(object state) { RaisePropertyChanged(nameof(Title)); RaisePropertyChanged(nameof(TitleWithAccountBalances)); RaisePropertyChanged(nameof(TicketRemainingLabel)); RaisePropertyChanged(nameof(TicketPaymentLabel)); RaisePropertyChanged(nameof(TicketChangePaymentLabel)); RaisePropertyChanged(nameof(TicketSubTotalLabel)); RaisePropertyChanged(nameof(TicketTaxLabel)); RaisePropertyChanged(nameof(TicketTotalLabel)); RaisePropertyChanged(nameof(TicketPlainTotalLabel)); RaisePropertyChanged(nameof(IsTicketSubTotalVisible)); RaisePropertyChanged(nameof(IsPlainTotalVisible)); RaisePropertyChanged(nameof(IsTicketTaxTotalVisible)); RaisePropertyChanged(nameof(IsTicketRemainingVisible)); RaisePropertyChanged(nameof(IsTicketPaymentVisible)); RaisePropertyChanged(nameof(IsTicketChangePaymentVisible)); RaisePropertyChanged(nameof(IsTicketTotalVisible)); RaisePropertyChanged(nameof(TicketPlainTotalValue)); RaisePropertyChanged(nameof(TicketRemainingValue)); RaisePropertyChanged(nameof(TicketPaymentValue)); RaisePropertyChanged(nameof(TicketChangePaymentValue)); RaisePropertyChanged(nameof(TicketSubTotalValue)); RaisePropertyChanged(nameof(TicketTaxValue)); RaisePropertyChanged(nameof(TicketTotalValue)); RaisePropertyChanged(nameof(PostServices)); RaisePropertyChanged(nameof(PreServices)); RaisePropertyChanged(nameof(PreServicesList)); RaisePropertyChanged(nameof(PostServicesList)); RaisePropertyChanged(nameof(Payments)); RaisePropertyChanged(nameof(ChangePayments)); PostServices.ForEach(x => x.Refresh()); PreServices.ForEach(x => x.Refresh()); }
private void RefreshAll(object state) { RaisePropertyChanged(() => Title); RaisePropertyChanged(() => TicketRemainingLabel); RaisePropertyChanged(() => TicketPaymentLabel); RaisePropertyChanged(() => TicketChangePaymentLabel); RaisePropertyChanged(() => TicketSubTotalLabel); RaisePropertyChanged(() => TicketTaxLabel); RaisePropertyChanged(() => TicketTotalLabel); RaisePropertyChanged(() => TicketPlainTotalLabel); RaisePropertyChanged(() => IsTicketSubTotalVisible); RaisePropertyChanged(() => IsPlainTotalVisible); RaisePropertyChanged(() => IsTicketTaxTotalVisible); RaisePropertyChanged(() => IsTicketRemainingVisible); RaisePropertyChanged(() => IsTicketPaymentVisible); RaisePropertyChanged(() => IsTicketChangePaymentVisible); RaisePropertyChanged(() => IsTicketTotalVisible); RaisePropertyChanged(() => TicketPlainTotalValue); RaisePropertyChanged(() => TicketRemainingValue); RaisePropertyChanged(() => TicketPaymentValue); RaisePropertyChanged(() => TicketChangePaymentValue); RaisePropertyChanged(() => TicketSubTotalValue); RaisePropertyChanged(() => TicketTaxValue); RaisePropertyChanged(() => TicketTotalValue); RaisePropertyChanged(() => PostServices); RaisePropertyChanged(() => PreServices); RaisePropertyChanged(() => PreServicesList); RaisePropertyChanged(() => PostServicesList); RaisePropertyChanged(() => Payments); RaisePropertyChanged(() => ChangePayments); PostServices.ForEach(x => x.Refresh()); PreServices.ForEach(x => x.Refresh()); }