protected void InitialiseChildenCollection() { plotItems = new UniqueObservableCollection <Plot2DItem>(); plotItems.CollectionChanged += new NotifyCollectionChangedEventHandler(plotItems_CollectionChanged); }
protected override void CreateLegends() { plotItems = new UniqueObservableCollection <Plot2DItem>(); plotItems.CollectionChanged += new NotifyCollectionChangedEventHandler(annotations_CollectionChanged); base.CreateLegends(); }