Пример #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));
 }