示例#1
0
        public void OnBarDimensionsChanged()
        {
            BarObservableCollection <Dimensions> dimension = new BarObservableCollection <Dimensions>();

            dimension.Add(this.Dimensions);
            dimension.ChildElementPropertyChanged += new
                                                     BarObservableCollection <Dimensions> .ChildElementPropertyChangedEventHandler(dimension_DimensionsChanged);
        }
示例#2
0
 void dimension_DimensionsChanged(BarObservableCollection <Dimensions> .ChildElementPropertyChangedEventArgs e)
 {
     RecreateChildren();
 }