Aggregate detail values in Master-Detail view
问题 I have a master-detail relationship in some custom entities. Say I have the following structure: class Master : INotifyPropertyChanged { public int Id { get; set; } // + property changed implementation public string Name { get; set; } // + property changed implementation public ObservableCollection<Detail> Details { get; } } class Detail : INotifyPropertyChanged { public int Id { get; private set; } public string Description { get; set; } public double Value { get; set; } // + property