public void OnBarDimensionsChanged() { BarObservableCollection <Dimensions> dimension = new BarObservableCollection <Dimensions>(); dimension.Add(this.Dimensions); dimension.ChildElementPropertyChanged += new BarObservableCollection <Dimensions> .ChildElementPropertyChangedEventHandler(dimension_DimensionsChanged); }
void dimension_DimensionsChanged(BarObservableCollection <Dimensions> .ChildElementPropertyChangedEventArgs e) { RecreateChildren(); }