예제 #1
0
        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;
        }
예제 #2
0
        public HorizontalGridColumn Copy()
        {
            HorizontalGridColumn copyColumn = new HorizontalGridColumn();

            copyColumn._TitleField = this.TitleField;

            copyColumn._Filter = this.Filter.Copy();

            copyColumn._Title = this.Title;

            return(copyColumn);
        }
예제 #3
0
 public bool Contains(HorizontalGridColumn hGridColumn)
 {
     return(this.InnerList.Contains(hGridColumn));
 }
예제 #4
0
 public void Remove(HorizontalGridColumn hGridColumn)
 {
     this.InnerList.Remove(hGridColumn);
 }
예제 #5
0
 public int Add(HorizontalGridColumn hGridColumn)
 {
     return(this.InnerList.Add(hGridColumn));
 }