示例#1
0
 public void Remove(LegendCellColumn column)
 {
     if (column != null)
     {
         base.List.Remove(column);
     }
 }
示例#2
0
 private void AssignUniqueName(LegendCellColumn column)
 {
     if (column.Name.Length == 0)
     {
         string empty = string.Empty;
         int    num   = 1;
         do
         {
             empty = "Column" + num.ToString(CultureInfo.InvariantCulture);
             num++;
         }while (this.FindByName(empty) != null && num < 10000);
         column.Name = empty;
     }
 }
示例#3
0
        public LegendCellColumn FindByName(string name)
        {
            LegendCellColumn result = null;
            int num = 0;

            while (num < base.List.Count)
            {
                if (string.Compare(this[num].Name, name, false, CultureInfo.CurrentCulture) != 0)
                {
                    num++;
                    continue;
                }
                result = this[num];
                break;
            }
            return(result);
        }
示例#4
0
 public int IndexOf(LegendCellColumn value)
 {
     return(base.List.IndexOf(value));
 }
示例#5
0
 public bool Contains(LegendCellColumn value)
 {
     return(base.List.Contains(value));
 }
示例#6
0
 public void Insert(int index, LegendCellColumn column)
 {
     base.List.Insert(index, column);
 }
示例#7
0
 public int Add(LegendCellColumn column)
 {
     return(base.List.Add(column));
 }