public void Swap(int a1, int a2) { if (a1 < 0 || a2 < 0 || a1 >= this.Count || a2 >= this.Count) { return; } HorizontalGridColumn column = this[a1]; this.InnerList[a1] = this.InnerList[a2]; this.InnerList[a2] = column; }
public HorizontalGridColumn Copy() { HorizontalGridColumn copyColumn = new HorizontalGridColumn(); copyColumn._TitleField = this.TitleField; copyColumn._Filter = this.Filter.Copy(); copyColumn._Title = this.Title; return(copyColumn); }
public bool Contains(HorizontalGridColumn hGridColumn) { return(this.InnerList.Contains(hGridColumn)); }
public void Remove(HorizontalGridColumn hGridColumn) { this.InnerList.Remove(hGridColumn); }
public int Add(HorizontalGridColumn hGridColumn) { return(this.InnerList.Add(hGridColumn)); }