public void AddAt(int index, ItemsViewColumn column) { if (column == null) { throw new ArgumentNullException("column"); } if (index == -1) { this.columns.Add(column); } else { this.columns.Insert(index, column); } column.SetOwner(this.owner); if (this.marked) { ((IStateManager)column).TrackViewState(); } this.OnColumnsChanged(); }
public void Add(ItemsViewColumn column) { this.AddAt(-1, column); }