This is an example code:
public class MyParent : INotifyPropertyChanged
{
List MyChildren;
public bool IsChanged
{
get
You can simplify things for yourself by storing your children in an ItemObservableCollection
, as discussed in this answer. That would allow you to do this:
private ItemObservableCollection children;
public MyParent()
{
this.children = new ItemObservableCollection();
this.children.ItemPropertyChanged += delegate(object sender, PropertyChangedEventArgs e)
{
if (string.Equals("IsChanged", e.PropertyName, StringComparison.Ordinal))
{
this.RaisePropertyChanged("IsChanged");
}
};
}