public void RemoveColumn(IColumn column) { _columns.Remove(column); RaisePropertyChanged("Columns"); ColumnsChanged.RaiseEvent(this, new CollectionChangeEvent <IColumn>(CollectionChangeAction.Deletion, column)); }
public void AddColumn(IColumn column) { _columns.Add(column); column.Parent = this; column.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(column_PropertyChanged); RaisePropertyChanged("Columns"); ColumnsChanged.RaiseEvent(this, new CollectionChangeEvent <IColumn>(CollectionChangeAction.Addition, column)); }