There is a DataGrid in which objects from ObservableCollection are displayed.
At the moment CellEditingEnding the field should change and the method of calculation from columns should be called. xaml all Bindings are listed. It works through time. That is: let's say in the required field we specify the value: 1 if you change it to 2, it counts as if there was 1 if you specify any other value as it would be if there was 2, and so on
DataGrid.Items.Refresh cannot be used inside CellEditingEnding